projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d11a9
)
[trunk] As reported by clang analyzer thoses values were never read
author
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Fri, 7 Mar 2014 11:20:59 +0000
(11:20 +0000)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Fri, 7 Mar 2014 11:20:59 +0000
(11:20 +0000)
src/lib/openjp2/dwt.c
patch
|
blob
|
history
diff --git
a/src/lib/openjp2/dwt.c
b/src/lib/openjp2/dwt.c
index e8e679d8e37a60059681eb9860b5d6d06bade9af..b36d68dd69119c6ff188b8975cbff74828af48ac 100644
(file)
--- 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) {