diff --git a/plugins/check_swap.cpp b/plugins/check_swap.cpp index 3483da98d..24d01e6a6 100644 --- a/plugins/check_swap.cpp +++ b/plugins/check_swap.cpp @@ -191,7 +191,7 @@ INT printOutput(printInfoStruct& printInfo) return state; } -INT check_swap(printInfoStruct& printInfo +INT check_swap(printInfoStruct& printInfo) { MEMORYSTATUSEX MemBuf; MemBuf.dwLength = sizeof(MemBuf); diff --git a/plugins/thresholds.cpp b/plugins/thresholds.cpp index ec086c4d2..240342e72 100644 --- a/plugins/thresholds.cpp +++ b/plugins/thresholds.cpp @@ -114,7 +114,7 @@ std::wstring threshold::pString(CONST DOUBLE max) upperAbs = upper / 100.0 * max; } - std::wstring s, lowerStr = removeZero(lowerAbs) + std::wstring s, lowerStr = removeZero(lowerAbs), upperStr = removeZero(upperAbs); if (lower != upper) {