summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--foo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/foo.h b/foo.h
index d6bb028..312d839 100644
--- a/foo.h
+++ b/foo.h
@@ -1,6 +1,6 @@
int usbprintf(USBSerial& usbs, const char* format, ...) {
int32_t* argp = (int32_t*)&format;
- int num;
+ int num = 0;
while(*format) {
if(*format != '%') {