Fix -Wsometimes-uninitialized warnings

This commit is contained in:
Chris Peterson 2014-05-28 19:04:33 -07:00 committed by Jason Evans
parent 3e310b34eb
commit 70807bc54b

View File

@ -381,7 +381,9 @@ malloc_vsnprintf(char *str, size_t size, const char *format, va_list ap)
case 'p': /* Synthetic; used for %p. */ \ case 'p': /* Synthetic; used for %p. */ \
val = va_arg(ap, uintptr_t); \ val = va_arg(ap, uintptr_t); \
break; \ break; \
default: not_reached(); \ default: \
not_reached(); \
val = 0; \
} \ } \
} while (0) } while (0)