changeset 83:c54d74312080

Fix some warnings.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 05 Jan 2016 09:20:43 +0200
parents 82679cccaa32
children 04ce0ffbbbb0
files sidinfo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Sat Jan 02 02:59:54 2016 +0200
+++ b/sidinfo.c	Tue Jan 05 09:20:43 2016 +0200
@@ -252,7 +252,7 @@
 BOOL argParsePSFormatStr(PSFStack *stack, const char *fmt)
 {
     PSFStackItem item;
-    const char *start;
+    const char *start = NULL;
     int mode = 0;
 
     siClearStack(stack);
@@ -423,7 +423,7 @@
 static void siPrintFieldSeparator(FILE *outFile)
 {
     if (!optFormat.nitems)
-        fprintf(outFile, optOneLine ? optFieldSep : "\n");
+        fputs(optOneLine ? optFieldSep : "\n", outFile);
 }