mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Unused code: report_message()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
1c03075f24
commit
b7a6b7c6be
2 changed files with 0 additions and 6 deletions
|
@ -707,7 +707,6 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int report_error(const char *fmt, ...);
|
extern int report_error(const char *fmt, ...);
|
||||||
extern void report_message(const char *msg);
|
|
||||||
extern const char *get_error_string(void);
|
extern const char *get_error_string(void);
|
||||||
extern void set_error_cb(void(*cb)(void));
|
extern void set_error_cb(void(*cb)(void));
|
||||||
|
|
||||||
|
|
|
@ -45,11 +45,6 @@ int report_error(const char *fmt, ...)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void report_message(const char *msg)
|
|
||||||
{
|
|
||||||
(void)report_error("%s", msg);
|
|
||||||
}
|
|
||||||
|
|
||||||
void set_error_cb(void(*cb)(void)) {
|
void set_error_cb(void(*cb)(void)) {
|
||||||
error_cb = cb;
|
error_cb = cb;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue