fixed warnings in rtgui

This commit is contained in:
Alberto Griggio
2017-04-01 15:55:39 +02:00
parent 94685212b0
commit 6fe04e3990
25 changed files with 23 additions and 34 deletions

View File

@@ -559,7 +559,7 @@ void LCurve::adjusterChanged (Adjuster* a, double newval)
void LCurve::colorForValue (double valX, double valY, enum ColorCaller::ElemType elemType, int callerId, ColorCaller *caller)
{
float R, G, B;
float R = 0.f, G = 0.f, B = 0.f;
if (elemType == ColorCaller::CCET_VERTICAL_BAR) {
valY = 0.5;