summaryrefslogtreecommitdiff
path: root/lib/csv.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-12-05 07:03:15 -0500
committerGitHub <noreply@github.com>2017-12-05 07:03:15 -0500
commit7b79bc5cb7677946ab6cd9606cf12f4869ba9304 (patch)
tree2c871ffd84f68886ef564c0b58c1f9d01655c357 /lib/csv.c
parentd17ea5225bb520a94af1b149c26e1807b929ebf1 (diff)
parent41e41899300a718d8637d70c2a3984ed5f058ec9 (diff)
Merge pull request #1494 from opensourcerouting/u1710-master
Fixes to allow Package build on Ubuntu 17.10
Diffstat (limited to 'lib/csv.c')
-rw-r--r--lib/csv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csv.c b/lib/csv.c
index 27d0fe4029..e6a5eae2e2 100644
--- a/lib/csv.c
+++ b/lib/csv.c
@@ -424,7 +424,7 @@ void csv_clone_record(csv_t *csv, csv_record_t *in_rec, csv_record_t **out_rec)
void csv_remove_record(csv_t *csv, csv_record_t *rec)
{
- csv_field_t *fld, *p_fld;
+ csv_field_t *fld = NULL, *p_fld;
/* first check if rec belongs to this csv */
if (!csv_is_record_valid(csv, rec)) {