mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
Put assertions behind a DEBUG flag to make it easy to build without them.
This commit is contained in:
parent
f3754b8429
commit
0c898e3c2c
18 changed files with 49 additions and 37 deletions
|
@ -92,12 +92,12 @@ struct tm* gmtime(const time_t* t)
|
|||
|
||||
char *asctime(const struct tm*)
|
||||
{
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
size_t strftime(char*, size_t, const char*, const struct tm*)
|
||||
{
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
long timezone;
|
||||
|
@ -107,7 +107,7 @@ int daylight;
|
|||
|
||||
void tzset()
|
||||
{
|
||||
assert(false);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue