From: Marco Costalba Date: Sun, 12 Apr 2009 16:05:09 +0000 (+0200) Subject: Fix a gcc warning due to order of initialization in Option X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=b893583bb6f3e469b971e6ee2005a5a49b87b127;hp=e81d0d08c398f9a3708d9dadbb75d9b3feb5efaf 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 --- diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 1504f64e..765e80b4 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -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);