]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/stringbuf.c
* StrBufTCP_read_buffered_line_fast(): silence warning of narrow minded compilers
[citadel.git] / libcitadel / lib / stringbuf.c
index b96f227697baa79bae078dcf18ce13a23bfbdaba..01555c4458a694b550d91d4bc891dc3fb736da34 100644 (file)
@@ -3390,7 +3390,7 @@ int StrBufTCP_read_buffered_line_fast(StrBuf *Line,
 
                        if (IOBuf->BufUsed + 10 > IOBuf->BufSize)
                        {
-                               long apos;
+                               long apos = 0;
 
                                if (pLF != NULL) apos = pLF - IOBuf->buf;
                                IncreaseBuf(IOBuf, 1, -1);