aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/printf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c
index 17edb0907..fdd4793c3 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -606,7 +606,9 @@ void sqlite3VXPrintf(
while( nPad-- ) bufpt[i++] = '0';
length = width;
}
-#endif
+#else
+ length = 0;
+#endif /* SQLITE_OMIT_FLOATING_POINT */
break;
case etSIZE:
*(va_arg(ap,int*)) = pAccum->nChar;