From 14f24f2a98a63a5c5525fd196df46100b4ef626d Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 11 Apr 2011 05:40:52 +0200 Subject: Initialize num. --- foo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 != '%') { -- cgit v1.2.3