Cleanup: silence warnings.

This commit is contained in:
Bastien Montagne 2014-01-06 15:05:21 +01:00
parent 256a069987
commit e87095fa5d
1 changed files with 2 additions and 2 deletions

View File

@ -2232,8 +2232,8 @@ bool ui_hsvcube_use_display_colorspace(uiBut *but)
void ui_hsvcube_pos_from_vals(uiBut *but, const rcti *rect, float *hsv, float *xp, float *yp)
{
float x, y;
float x = 0.0f, y = 0.0f;
switch ((int)but->a1) {
case UI_GRAD_SV:
x = hsv[2]; y = hsv[1]; break;