From b893583bb6f3e469b971e6ee2005a5a49b87b127 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 12 Apr 2009 18:05:09 +0200 Subject: [PATCH 1/1] 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 --- src/ucioption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2