diff options
| author | Matthieu Darbois <mayeut@users.noreply.github.com> | 2014-11-18 18:30:44 +0000 |
|---|---|---|
| committer | Matthieu Darbois <mayeut@users.noreply.github.com> | 2014-11-18 18:30:44 +0000 |
| commit | f57f59b10de4e241932572d9831eb3d6d0667325 (patch) | |
| tree | 194e4658d5882883b92c1ea5b3aed98d5dd829cf /src/lib/openjp2/jp2.c | |
| parent | b65e3ebdb6b8a5f68e830799f89fc22f3f25d9a0 (diff) | |
[trunk] remove warning during build (fixes issue 435)
Diffstat (limited to 'src/lib/openjp2/jp2.c')
| -rw-r--r-- | src/lib/openjp2/jp2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openjp2/jp2.c b/src/lib/openjp2/jp2.c index c4d800bb..131a3645 100644 --- a/src/lib/openjp2/jp2.c +++ b/src/lib/openjp2/jp2.c @@ -1683,8 +1683,8 @@ OPJ_BOOL opj_jp2_setup_encoder( opj_jp2_t *jp2, OPJ_UINT32 depth_0; OPJ_UINT32 sign; OPJ_UINT32 alpha_count; - OPJ_UINT32 color_channels; - OPJ_UINT32 alpha_channel; + OPJ_UINT32 color_channels = 0U; + OPJ_UINT32 alpha_channel = 0U; if(!jp2 || !parameters || !image) |
