Skip to content

Commit

Permalink
ps.map: Fix uninitialized variable issues in r_colortable.c (OSGeo#4004)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamDesai authored and a0x8o committed Jul 23, 2024
1 parent b90fc73 commit 6db3580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ps/ps.map/r_colortable.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int read_colortable(void)
int fontsize, cols, nodata, tickbar, discrete;
double w, h, x, y, lw;
int range_override;
double min, max, tmpD;
double min = 0.0, max = 0.0, tmpD = 0.0;
int r, g, b, ret;
PSCOLOR color;

Expand Down

0 comments on commit 6db3580

Please sign in to comment.