From c072962d430391aed2bd512cfe97a522ed6a619d Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Thu, 2 Feb 2012 22:20:44 +0100 Subject: cppcheck tells us: fprintf format string has 0 parameters but 1 are given (bzr r10930) --- src/io/ftos.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/io/ftos.cpp') diff --git a/src/io/ftos.cpp b/src/io/ftos.cpp index b8d161ca4..658c768e8 100644 --- a/src/io/ftos.cpp +++ b/src/io/ftos.cpp @@ -343,7 +343,7 @@ string ftos(double val, char mode, int sigfig, int precision, int options) if (rhs<0) rhs = 0; #ifdef DEBUG - fprintf(stderr, "*** rhs is", itos(rhs).c_str()); + fprintf(stderr, "*** rhs is %s\n", itos(rhs).c_str()); #endif // Determine the exponent @@ -411,7 +411,7 @@ string ftos(double val, char mode, int sigfig, int precision, int options) } #ifdef DEBUG - fprintf(stderr, "*** End of ftos with ascii = ", ascii.c_str()); + fprintf(stderr, "*** End of ftos with ascii = %s\n", ascii.c_str()); #endif /* finally, we can return */ g_free(p); -- cgit v1.2.3