diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-07 11:20:59 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-07 11:20:59 +0000 |
| commit | 9d216954762b0177bc7eaef9af651988f7c79aec (patch) | |
| tree | f3df714ada8ea861c23807150018e4d24e8f01f4 /src/lib | |
| parent | 22d11a9ccb6f4ba2deff425ea56ca68e864ce50e (diff) | |
[trunk] As reported by clang analyzer thoses values were never read
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/dwt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/openjp2/dwt.c b/src/lib/openjp2/dwt.c index e8e679d8..b36d68dd 100644 --- a/src/lib/openjp2/dwt.c +++ b/src/lib/openjp2/dwt.c @@ -401,9 +401,6 @@ INLINE OPJ_BOOL opj_dwt_encode_procedure(opj_tcd_tilecomp_t * tilec,void (*p_fun l_cur_res = tilec->resolutions + l; l_last_res = l_cur_res - 1; - rw = l_cur_res->x1 - l_cur_res->x0; - rh = l_cur_res->y1 - l_cur_res->y0; - l_data_size = opj_dwt_max_resolution( tilec->resolutions,tilec->numresolutions) * (OPJ_UINT32)sizeof(OPJ_INT32); bj = (OPJ_INT32*)opj_malloc((size_t)l_data_size); if (! bj) { |
