diff options
author | iphydf <iphydf@users.noreply.github.com> | 2017-01-04 22:37:53 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2017-01-11 19:43:08 +0000 |
commit | 8b4eae4038db87f2df1c40856c99c3ffca8887fe (patch) | |
tree | a3d712f2adf081f56a4295a34f5a8c75523e5a18 /testing | |
parent | 583d71680ec12349cd1bedea72ae136d55667ecb (diff) |
Remove `TOX_DEBUG` and have asserts always enabled.
These are cheap asserts. I've also replaced the fprintf's with
`LOGGER_ERROR` calls.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/misc_tools.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/testing/misc_tools.c b/testing/misc_tools.c index 30c813ca..8798c6dd 100644 --- a/testing/misc_tools.c +++ b/testing/misc_tools.c | |||
@@ -31,10 +31,6 @@ | |||
31 | #include <string.h> | 31 | #include <string.h> |
32 | #include <strings.h> | 32 | #include <strings.h> |
33 | 33 | ||
34 | #ifdef TOX_DEBUG | ||
35 | #include <assert.h> | ||
36 | #endif // TOX_DEBUG | ||
37 | |||
38 | // You are responsible for freeing the return value! | 34 | // You are responsible for freeing the return value! |
39 | uint8_t *hex_string_to_bin(const char *hex_string) | 35 | uint8_t *hex_string_to_bin(const char *hex_string) |
40 | { | 36 | { |