diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-05-20 09:04:13 +0200 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-10 16:45:42 +0100 |
commit | b7a6b7c6be6f4a9b05697797683e6210d27084fa (patch) | |
tree | 1b21973c49fc59c76df8bea6fc375ed063189642 /core | |
parent | 1c03075f24cb32623d479416037c141d541fe998 (diff) | |
download | subsurface-b7a6b7c6be6f4a9b05697797683e6210d27084fa.tar.gz |
Unused code: report_message()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core')
-rw-r--r-- | core/dive.h | 1 | ||||
-rw-r--r-- | core/errorhelper.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/core/dive.h b/core/dive.h index 4172c9bca..ecb767827 100644 --- a/core/dive.h +++ b/core/dive.h @@ -707,7 +707,6 @@ extern "C" { #endif extern int report_error(const char *fmt, ...); -extern void report_message(const char *msg); extern const char *get_error_string(void); extern void set_error_cb(void(*cb)(void)); diff --git a/core/errorhelper.c b/core/errorhelper.c index 66c01fd21..0f544efb6 100644 --- a/core/errorhelper.c +++ b/core/errorhelper.c @@ -45,11 +45,6 @@ int report_error(const char *fmt, ...) return -1; } -void report_message(const char *msg) -{ - (void)report_error("%s", msg); -} - void set_error_cb(void(*cb)(void)) { error_cb = cb; } |