mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 15:37:27 +00:00
avoid zero-as-null-pointer warning (#7423)
Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
@@ -51,10 +51,10 @@ int CloseTestEngine(bool force_report = false);
|
||||
|
||||
// Write captured state to a log and terminate test run.
|
||||
void TestFail(const char *expval, const char *val, const char *exp,
|
||||
const char *file, int line, const char *func = 0);
|
||||
const char *file, int line, const char *func = nullptr);
|
||||
|
||||
void TestEqStr(const char *expval, const char *val, const char *exp,
|
||||
const char *file, int line, const char *func = 0);
|
||||
const char *file, int line, const char *func = nullptr);
|
||||
|
||||
// Workaround for `enum class` printing.
|
||||
// There is an issue with the printing of enums with a fixed underlying type.
|
||||
|
||||
Reference in New Issue
Block a user