3aa934c99d7ce21128bebdf2d3b9055922901ec4 hiram Sat Jan 5 15:38:11 2019 -0800 mostly minor cosmetic fixups to satisify gcc-7 warnings no redmine diff --git src/lib/dyOut.c src/lib/dyOut.c index e623172..a0f4622 100644 --- src/lib/dyOut.c +++ src/lib/dyOut.c @@ -86,32 +86,34 @@ } va_end(args); return len; } int dyOutPrintDirectly(int token,FILE *file) // Prints the contents of the top buffer directly to a file. // Will leave the filled buffer at top of stack // Returns the length printed. { dyOutAssertToken(token); int len = dyStringLen(dyOutStack); if (len != 0) + { fprintf(file,"%s",dyStringContents(dyOutStack)); fflush(file); + } return len; } int dyOutFlush(int token) // Flushes the top buffer to the next lower one and empties top buffer. // If there is no lower buffer then the content is printed to STDOUT (or registered out). // Returns the length flushed. { dyOutAssertToken(token); int len = dyStringLen(dyOutStack); if (len != 0) { if (dyOutStack->next == NULL)