forked from mirrors/gecko-dev
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.
|
||
|---|---|---|
| .. | ||
| build | ||
| fallible | ||
| gtest | ||
| mozalloc | ||
| mozjemalloc | ||
| replace | ||
| volatile | ||
| moz.build | ||