Whitespace and dead code cleanup

The coding style for switch isn't the prettiest, but let's at least keep
things consistent.

Also, those ugly break statements never got reached, anyway.

And there was no need to re-declare and re-generate currentString.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-02-12 06:18:15 -08:00
parent 9c9867dec5
commit 6332976c3d
2 changed files with 7 additions and 9 deletions

View file

@ -74,4 +74,4 @@ QColor getSacColor(int sac, int avg_sac)
if (sac_index > SAC_COLORS - 1)
sac_index = SAC_COLORS - 1;
return getColor((color_indice_t)(SAC_COLORS_START_IDX + sac_index), false);
}
}