]> granicus.if.org Git - icinga2/commitdiff
Fix a compiler warning
authorJean Flach <jean-marcel.flach@netways.de>
Fri, 19 Dec 2014 08:36:59 +0000 (09:36 +0100)
committerJean Flach <jean-marcel.flach@netways.de>
Fri, 19 Dec 2014 08:36:59 +0000 (09:36 +0100)
fixes #8114

plugins/thresholds.cpp

index 83a957afdb2973a7d3881c45bf2aad15474eac28..6a50eb391413b68be578833d065151a22f8bee5b 100644 (file)
@@ -137,6 +137,7 @@ std::wstring removeZero(double val)
                }
                pos--;
        }
+       return L"0";
 }
 
 std::vector<std::wstring> splitMultiOptions(std::wstring str)