git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
It's a c++: use string.empty()
[novacoin.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
0a6fda1
..
64c988a
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-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;