mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
c88ec30451
clang warns about this code in mozmemory_wrap.c in the reimplementation of vasprintf, complaining that `fmt` cannot be null: if (str == NULL || fmt == NULL) { ^~~ ~~~~ clang is apparently exploiting knowledge about the requirements of vasprintf here, but defensive programming on the part of our reimplementation seems like the wiser course. Let's turn off the warning. |
||
---|---|---|
.. | ||
malloc_decls.h | ||
moz.build | ||
mozmemory_wrap.c | ||
mozmemory_wrap.h | ||
mozmemory.h | ||
replace_malloc_bridge.h | ||
replace_malloc.h | ||
zone.c |