summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-10-05 08:18:55 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-10-05 08:18:55 +0000
commit37ff9b029ce6996199197308267a55e9fb82ff59 (patch)
tree13303fb2cba615102a29dffcab7c0d0a8ef58e30 /tests/unit
parente798fe37e191c1ea8b3fa248662d7cc0b75674d5 (diff)
[trunk] remove warnings
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/testempty1.c2
-rw-r--r--tests/unit/testempty2.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/unit/testempty1.c b/tests/unit/testempty1.c
index 5e1ad631..19daa67d 100644
--- a/tests/unit/testempty1.c
+++ b/tests/unit/testempty1.c
@@ -71,9 +71,7 @@ int main(int argc, char *argv[])
opj_image_t *image;
opj_event_mgr_t event_mgr;
opj_codec_t* l_codec = 00;
- opj_cio_t *cio;
opj_bool bSuccess;
- size_t codestream_length;
FILE *f;
opj_stream_t *l_stream = 00;
(void)argc;
diff --git a/tests/unit/testempty2.c b/tests/unit/testempty2.c
index fe00d13d..3c961a89 100644
--- a/tests/unit/testempty2.c
+++ b/tests/unit/testempty2.c
@@ -73,9 +73,7 @@ int main(int argc, char *argv[])
opj_image_t *image;
opj_event_mgr_t event_mgr;
opj_codec_t* l_codec = 00;
- opj_cio_t *cio;
opj_bool bSuccess;
- size_t codestream_length;
FILE *f;
opj_stream_t *l_stream = 00;
(void)argc;
@@ -138,9 +136,7 @@ int main(int argc, char *argv[])
/* read back the generated file */
{
- size_t file_length;
FILE *fsrc = fopen(outputfile, "rb");
- unsigned char *src;
opj_codec_t* d_codec = 00;
opj_dparameters_t dparameters;
assert( fsrc );