1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 17:49:35 +00:00

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);