mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
wrlib: Value stored to 'nptr' is never read
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
32c720dd86
commit
0db65843ff
@@ -77,7 +77,6 @@ RImage *RRotateImage(RImage * image, float angle)
|
|||||||
offs = nwidth * 4;
|
offs = nwidth * 4;
|
||||||
|
|
||||||
optr = image->data;
|
optr = image->data;
|
||||||
nptr = img->data;
|
|
||||||
|
|
||||||
for (x = 0; x < nwidth; x++) {
|
for (x = 0; x < nwidth; x++) {
|
||||||
nptr = img->data + x * 4;
|
nptr = img->data + x * 4;
|
||||||
@@ -160,7 +159,6 @@ RImage *RRotateImage(RImage * image, float angle)
|
|||||||
offs = nwidth * 4;
|
offs = nwidth * 4;
|
||||||
|
|
||||||
optr = image->data;
|
optr = image->data;
|
||||||
nptr = img->data;
|
|
||||||
|
|
||||||
for (x = 0; x < nwidth; x++) {
|
for (x = 0; x < nwidth; x++) {
|
||||||
nptr = img->data + x * 4;
|
nptr = img->data + x * 4;
|
||||||
|
|||||||
Reference in New Issue
Block a user