diff options
| author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-04-11 05:40:52 +0200 |
|---|---|---|
| committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-04-11 05:40:52 +0200 |
| commit | 14f24f2a98a63a5c5525fd196df46100b4ef626d (patch) | |
| tree | 29354f62d34321ceeaa57dd3827aad9531f47261 | |
| parent | f10945e0ab91484c6e70fdfd8530675f9e7a7728 (diff) | |
Initialize num.
| -rw-r--r-- | foo.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 != '%') { |
