Fix some of the things clang --analyze flagged
This commit is contained in:
1 parent
352cd151e0
commit
98360bcd57
34 files changed
+58
-112
No files matched your search
@@ -326,7 +326,6 @@ static void ResampleTexture( unsigned *in, int inwidth, int inheight, unsigned *
|
||||
for (i=0 ; i<outheight ; i++, out += outwidth) {
|
||||
inrow = in + inwidth*(int)((i+0.25)*inheight/outheight);
|
||||
inrow2 = in + inwidth*(int)((i+0.75)*inheight/outheight);
|
||||
frac = fracstep >> 1;
|
||||
for (j=0 ; j<outwidth ; j++) {
|
||||
pix1 = (byte *)inrow + p1[j];
|
||||
pix2 = (byte *)inrow + p2[j];
|
||||
|
||||
Reference in new issue
Block a user