diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-23 21:52:02 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-23 21:52:02 +0200 |
commit | 0c898e3c2cad9a5b2c7a4caf41bd9b544d31ba19 (patch) | |
tree | 3fdc8c4350987276de15080d047dc02397359c31 /LibC/unistd.cpp | |
parent | f3754b842937f222a58472ea7010eb4246ef1157 (diff) | |
download | serenity-0c898e3c2cad9a5b2c7a4caf41bd9b544d31ba19.zip |
Put assertions behind a DEBUG flag to make it easy to build without them.
Diffstat (limited to 'LibC/unistd.cpp')
-rw-r--r-- | LibC/unistd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LibC/unistd.cpp b/LibC/unistd.cpp index 28190bdbfd..ab691151e5 100644 --- a/LibC/unistd.cpp +++ b/LibC/unistd.cpp @@ -362,27 +362,27 @@ int access(const char* pathname, int mode) int mknod(const char* pathname, mode_t, dev_t) { (void) pathname; - assert(false); + ASSERT_NOT_REACHED(); } long fpathconf(int fd, int name) { (void) fd; (void) name; - assert(false); + ASSERT_NOT_REACHED(); } long pathconf(const char* path, int name) { (void) path; (void) name; - assert(false); + ASSERT_NOT_REACHED(); } void _exit(int status) { syscall(SC_exit, status); - assert(false); + ASSERT_NOT_REACHED(); } void sync() |