From b7a6b7c6be6f4a9b05697797683e6210d27084fa Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Sat, 20 May 2017 09:04:13 +0200 Subject: Unused code: report_message() Signed-off-by: Jan Mulder --- core/dive.h | 1 - core/errorhelper.c | 5 ----- 2 files changed, 6 deletions(-) (limited to 'core') 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; } -- cgit v1.2.3-70-g09d2