Skip to content

Commit

Permalink
"may be used uninitialized" warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDushan committed Feb 27, 2021
1 parent 4e3f8f8 commit 5f1c53f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/engine/GPURenderer/r_bsp_tech3.cpp
Expand Up @@ -85,6 +85,11 @@ static void HSVtoRGB( float32 h, float32 s, float32 v, float32 rgb[3] )
rgb[1] = p;
rgb[2] = q;
break;
default:
rgb[0] =
rgb[1] =
rgb[2] = 0;
break;
}
}

Expand Down

0 comments on commit 5f1c53f

Please sign in to comment.