graphics/cairo_orig/grTCairo3.c uninitialized value
Looks like old code. Looks like local variable 'j' could be removed. Initialization lowers the severity of concern in this area. The 'j' variable is now written but never read. SonarCloud graphics/cairo_orig/grTCairo3.c:492 The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage https://sonarcloud.io/project/issues?open=AZJB16voNGfDNup0Rig_&id=dlmiles_magic
This commit is contained in:
parent
a9b707460b
commit
5e00e3fe1b
|
|
@ -478,7 +478,7 @@ int pixsize;
|
|||
{
|
||||
Point *tp;
|
||||
int np, nptotal;
|
||||
int i, j;
|
||||
int i, j = 0;
|
||||
static int maxnp = 0;
|
||||
FontChar *ccur;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue