Merge branch 'master' of github.com:novacoin-project/novacoin
[novacoin.git] / src / main.cpp
index 65001a3..660bb41 100644 (file)
@@ -3037,7 +3037,7 @@ string GetWarnings(string strFor)
         strRPC = "test";
 
     // Misc warnings like out of disk space and clock is wrong
-    if (strMiscWarning != "")
+    if (!strMiscWarning.empty())
     {
         nPriority = 1000;
         strStatusBar = strMiscWarning;