diff options
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -151,6 +151,7 @@ static const char *tox_log_level_name(TOX_LOG_LEVEL level) | |||
151 | void on_tox_log(Tox *tox, TOX_LOG_LEVEL level, const char *path, uint32_t line, const char *func, | 151 | void on_tox_log(Tox *tox, TOX_LOG_LEVEL level, const char *path, uint32_t line, const char *func, |
152 | const char *message, void *user_data) | 152 | const char *message, void *user_data) |
153 | { | 153 | { |
154 | tox = tox; | ||
154 | uint32_t index = user_data ? *(uint32_t *)user_data : 0; | 155 | uint32_t index = user_data ? *(uint32_t *)user_data : 0; |
155 | const char *file = strrchr(path, '/'); | 156 | const char *file = strrchr(path, '/'); |
156 | 157 | ||