]> git.notmuchmail.org Git - notmuch/blobdiff - compat/getdelim.c
Fix up Makefile for build.
[notmuch] / compat / getdelim.c
index 1bedef7c903ccb1b2296ef59d674a6d2f898f067..407f3d07c7443836a11b5dbc9236337e7e6294e7 100644 (file)
@@ -54,7 +54,7 @@
 ssize_t
 getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp)
 {
-  ssize_t result;
+  ssize_t result = -1;
   size_t cur_len = 0;
 
   if (lineptr == NULL || n == NULL || fp == NULL)