1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-30 23:23:07 +00:00

Add a few asserts to quiet some of the -fanalyze calls in gcc 13.

This commit is contained in:
Calvin Rose
2023-06-01 10:52:34 -05:00
parent 5de889419f
commit d0aa7ef590
8 changed files with 16 additions and 10 deletions

View File

@@ -775,7 +775,7 @@ static const char *get_fmt_mapping(char c) {
if (format_mappings[i].c == c)
return format_mappings[i].mapping;
}
return NULL;
janet_assert(0, "bad format mapping");
}
static const char *scanformat(