Fix a gcc warning due to order of initialization in Option

Move idx declaration before minValue and maxValue and silence
this last warning.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-04-12 18:05:09 +02:00
parent e81d0d08c3
commit b893583bb6

View File

@@ -59,9 +59,9 @@ namespace {
std::string name, defaultValue, currentValue;
OptionType type;
size_t idx;
int minValue, maxValue;
ComboValues comboValues;
size_t idx;
Option();
Option(const char* defaultValue, OptionType = STRING);