diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-05-20 14:48:21 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-05-20 15:34:42 +0200 |
commit | 284cf39351d74f996d1576ae1dbf28186c6cf621 (patch) | |
tree | 96736862ccab115b96bf0c590752094ffa30729d /lib/csv.c | |
parent | vtysh: fix vtysh warnings from another compiler (diff) | |
download | frr-284cf39351d74f996d1576ae1dbf28186c6cf621.tar.xz frr-284cf39351d74f996d1576ae1dbf28186c6cf621.zip |
lib: Compiler warning fix
There exists a code path where fld would
be used uninitialized.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/csv.c')
-rw-r--r-- | lib/csv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ csv_encode_record (csv_t *csv, va_list list; char *str; char *col; - csv_field_t *fld; + csv_field_t *fld = NULL; int i; va_start(list, count); |