diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-02-26 09:46:01 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-02-26 09:46:01 +0000 |
| commit | c4317177f3196a16563b3af22085ccea4ad2a79c (patch) | |
| tree | 7ababbbc7b03ec53426d1481a9f7ca318775ac1d | |
| parent | e231a84b2fdabc626458065842a293238653d0c0 (diff) | |
[trunk] Remove simple warnings about unused functions
| -rw-r--r-- | src/bin/jp2/opj_compress.c | 22 | ||||
| -rw-r--r-- | tests/test_tile_encoder.c | 14 |
2 files changed, 0 insertions, 36 deletions
diff --git a/src/bin/jp2/opj_compress.c b/src/bin/jp2/opj_compress.c index da89e512..33efe757 100644 --- a/src/bin/jp2/opj_compress.c +++ b/src/bin/jp2/opj_compress.c @@ -1393,28 +1393,6 @@ static int parse_cmdline_encoder(int argc, char **argv, opj_cparameters_t *param /* -------------------------------------------------------------------------- */ /** -sample error callback expecting a FILE* client object -*/ -static void error_file_callback(const char *msg, void *client_data) { - FILE *stream = (FILE*)client_data; - fprintf(stream, "[ERROR] %s", msg); -} -/** -sample warning callback expecting a FILE* client object -*/ -static void warning_file_callback(const char *msg, void *client_data) { - FILE *stream = (FILE*)client_data; - fprintf(stream, "[WARNING] %s", msg); -} -/** -sample debug callback expecting a FILE* client object -*/ -static void info_file_callback(const char *msg, void *client_data) { - FILE *stream = (FILE*)client_data; - fprintf(stream, "[INFO] %s", msg); -} - -/** sample error debug callback expecting no client object */ static void error_callback(const char *msg, void *client_data) { diff --git a/tests/test_tile_encoder.c b/tests/test_tile_encoder.c index dbc3f037..62becce7 100644 --- a/tests/test_tile_encoder.c +++ b/tests/test_tile_encoder.c @@ -36,20 +36,6 @@ /* -------------------------------------------------------------------------- */ /** -sample error callback expecting a FILE* client object -*/ -static void error_callback_file(const char *msg, void *client_data) { - FILE *stream = (FILE*)client_data; - fprintf(stream, "[ERROR] %s", msg); -} -/** -sample warning callback expecting a FILE* client object -*/ -static void warning_callback_file(const char *msg, void *client_data) { - FILE *stream = (FILE*)client_data; - fprintf(stream, "[WARNING] %s", msg); -} -/** sample error debug callback expecting no client object */ static void error_callback(const char *msg, void *client_data) { |
