projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e22c4f
)
[trunk] Remove warnings about unused values introduced in r2710
author
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Fri, 14 Mar 2014 08:44:53 +0000
(08:44 +0000)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Fri, 14 Mar 2014 08:44:53 +0000
(08:44 +0000)
Thanks to Matthieu Darbois for patch
Fixes issue 290
src/lib/openjp2/t2.c
patch
|
blob
|
history
diff --git
a/src/lib/openjp2/t2.c
b/src/lib/openjp2/t2.c
index 56d5ee997ca0c6e9f1ad35e06b0ebec25eda4bc3..82d7a78f6bf0f08d61976349207e77c028180932 100644
(file)
--- a/
src/lib/openjp2/t2.c
+++ b/
src/lib/openjp2/t2.c
@@
-315,7
+315,13
@@
OPJ_BOOL opj_t2_encode_packets( opj_t2_t* p_t2,
#if 0
#define JAS_FPRINTF fprintf
#else
-#define JAS_FPRINTF
+/* issue 290 */
+static void opj_null_jas_fprintf(FILE* file, const char * format, ...)
+{
+ (void)file;
+ (void)format;
+}
+#define JAS_FPRINTF opj_null_jas_fprintf
#endif
OPJ_BOOL opj_t2_decode_packets( opj_t2_t *p_t2,