Fix garbage value warning

This commit is contained in:
Pasi Kallinen
2018-03-05 21:09:15 +02:00
parent 4d35ca86f3
commit b416564f39
+1 -2
View File
@@ -1296,9 +1296,8 @@ merge_bestcolor(bestcolor, newcolor)
int *bestcolor; int *bestcolor;
int newcolor; int newcolor;
{ {
int batr, bclr, natr, nclr; int natr = HL_UNDEF, nclr = NO_COLOR;
split_clridx(*bestcolor, &bclr, &batr);
split_clridx(newcolor, &nclr, &natr); split_clridx(newcolor, &nclr, &natr);
if (nclr != NO_COLOR) if (nclr != NO_COLOR)