Fix -Wsometimes-uninitialized warnings
This commit is contained in:
parent
3e310b34eb
commit
70807bc54b
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user