Skip to content

Commit 135d39b

Browse files
authored
Merge pull request #4867 from computezrmle/patch-1
Fix gcc compiler warnings
2 parents 5583bc8 + dc5a7f4 commit 135d39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clientgui/MainDocument.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2645,7 +2645,7 @@ static void hsv2rgb(
26452645
//
26462646
void color_cycle(int i, int n, wxColour& color) {
26472647
double h = (double)i/(double)n;
2648-
double r, g, b;
2648+
double r = 0.0, g = 0.0, b = 0.0;
26492649
double v = .75;
26502650
if (n > 6) v = .6 + (i % 3)*.1;
26512651
// cycle through 3 different brightnesses

0 commit comments

Comments
 (0)