mirror of
https://github.com/sockspls/badfish
synced 2025-05-03 01:59:36 +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:
parent
e81d0d08c3
commit
b893583bb6
1 changed files with 1 additions and 1 deletions
|
@ -59,9 +59,9 @@ namespace {
|
||||||
|
|
||||||
std::string name, defaultValue, currentValue;
|
std::string name, defaultValue, currentValue;
|
||||||
OptionType type;
|
OptionType type;
|
||||||
|
size_t idx;
|
||||||
int minValue, maxValue;
|
int minValue, maxValue;
|
||||||
ComboValues comboValues;
|
ComboValues comboValues;
|
||||||
size_t idx;
|
|
||||||
|
|
||||||
Option();
|
Option();
|
||||||
Option(const char* defaultValue, OptionType = STRING);
|
Option(const char* defaultValue, OptionType = STRING);
|
||||||
|
|
Loading…
Add table
Reference in a new issue