graphics/cairo_orig/grTCairo5.c uninitialized local variable
Looks like old code. Based on cairo_fill() action state this is initialized to no-op by default. SonarCloud graphics/cairo_orig/grTCairo5.c:107 The left operand of '!=' is a garbage value https://sonarcloud.io/project/issues?open=AZJB16wANGfDNup0RiiZ&id=dlmiles_magic
This commit is contained in:
parent
5e00e3fe1b
commit
10442b6534
|
|
@ -73,7 +73,7 @@ Point *p; /* screen pos of lower left corner */
|
|||
}
|
||||
}
|
||||
if ((!anyObscure) && (GEO_SURROUND(&grCurClip, &bBox)) ) {
|
||||
int *pixelp, x, y, thisp, lastp;
|
||||
int *pixelp, x, y, thisp, lastp = -1;
|
||||
int color, red, green, blue, mask;
|
||||
|
||||
/* no clipping, try to go quickly */
|
||||
|
|
|
|||
Loading…
Reference in New Issue