diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-11-13 17:35:15 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-11-13 17:35:15 +0000 |
| commit | e3c2305ff49428e01c16e9e5b7bd311b7fd23200 (patch) | |
| tree | ba6ee60778a14e877e6e9e239711dfee8dcd38af /src/lib/openjp2/event.c | |
| parent | 0e3c467a5bc6fa7808c842e9190ac8441d499f56 (diff) | |
[trunk] remove warnings raised by flags -Wall -Wextra -pedantic
Diffstat (limited to 'src/lib/openjp2/event.c')
| -rw-r--r-- | src/lib/openjp2/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp2/event.c b/src/lib/openjp2/event.c index bf437792..04d37cf1 100644 --- a/src/lib/openjp2/event.c +++ b/src/lib/openjp2/event.c @@ -114,6 +114,7 @@ opj_bool opj_event_msg(opj_event_mgr_t* p_event_mgr, int event_type, const char va_start(arg, fmt); /* check the length of the format string */ str_length = (strlen(fmt) > MSG_SIZE) ? MSG_SIZE : strlen(fmt); + (void)str_length; /* parse the format string and put the result in 'message' */ vsprintf(message, fmt, arg); /* UniPG */ /* deinitialize the optional parameter list */ |
