[trunk] Remove simple warnings about unused functions
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 26 Feb 2014 09:46:01 +0000 (09:46 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 26 Feb 2014 09:46:01 +0000 (09:46 +0000)
src/bin/jp2/opj_compress.c
tests/test_tile_encoder.c

index da89e512bf4b3a57f9cf3248c4b8feac4c5dd409..33efe7574eac3263993e9c0ed0bf7413fd294e3b 100644 (file)
@@ -1392,28 +1392,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
 */
index dbc3f037c1cd948f9ba686bb3fc0574dcc5522dd..62becce76f3e3aa10883a8d1a3d2a091f6d72ded 100644 (file)
 
 /* -------------------------------------------------------------------------- */
 
-/**
-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
 */