summaryrefslogtreecommitdiffstats
path: root/src/io/ftos.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-02 21:20:44 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-02 21:20:44 +0000
commitc072962d430391aed2bd512cfe97a522ed6a619d (patch)
treea4f629dd89eb12644402ceaa7937f1683250db95 /src/io/ftos.cpp
parentrv some issues with previous commit (diff)
downloadinkscape-c072962d430391aed2bd512cfe97a522ed6a619d.tar.gz
inkscape-c072962d430391aed2bd512cfe97a522ed6a619d.zip
cppcheck tells us: fprintf format string has 0 parameters but 1 are given
(bzr r10930)
Diffstat (limited to 'src/io/ftos.cpp')
-rw-r--r--src/io/ftos.cpp4
1 files changed, 2 insertions, 2 deletions
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);