From a02cea5ca5c2d29d6cefb0283d46d408aa6e8454 Mon Sep 17 00:00:00 2001 From: Shubham Vasudeo Desai Date: Mon, 8 Jul 2024 15:56:50 -0400 Subject: [PATCH] ps.map: Fix uninitialized variable issues in r_colortable.c --- ps/ps.map/r_colortable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps/ps.map/r_colortable.c b/ps/ps.map/r_colortable.c index 53bf62b080a..15dfb8cd149 100644 --- a/ps/ps.map/r_colortable.c +++ b/ps/ps.map/r_colortable.c @@ -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;