"may be used uninitialized" warning.

“may be used uninitialized” warning.

diff --git a/src/engine/GPURenderer/r_bsp_tech3.cpp b/src/engine/GPURenderer/r_bsp_tech3.cpp
index b919e6f..b91732f 100644
--- a/src/engine/GPURenderer/r_bsp_tech3.cpp
+++ b/src/engine/GPURenderer/r_bsp_tech3.cpp
@@ -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;
     }
 }
 

GitHub
sha: 5f1c53f1