whitelist some macOS clang format-nonliteral warnings

This commit is contained in:
nhmall
2021-02-02 19:50:07 -05:00
parent 5b1d668c44
commit 9684b75f54
4 changed files with 25 additions and 0 deletions

View File

@@ -1257,6 +1257,8 @@ shuffle_int_array(int *indices, int count)
}
}
DISABLE_WARNING_FORMAT_NONLITERAL
/*
* Wrap snprintf for use in the main code.
*
@@ -1292,4 +1294,6 @@ nh_snprintf(const char *func, int line, char *str, size_t size,
}
}
RESTORE_WARNING_FORMAT_NONLITERAL
/*hacklib.c*/