mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Fix some gcc 4.3 warnings
These are mostly string casts, handling function's return value and some weird warning about missing spaces on empty while loops. These were reported by and fixed with Marcus Rueckert <darix@opensu.se>. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@904 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -450,8 +450,8 @@ CString CTemplate::GetValue(const CString& sArgs) {
|
||||
sRet = (it != end()) ? it->second : "";
|
||||
}
|
||||
|
||||
while (sRest.Replace(" =", "=", "\"", "\""));
|
||||
while (sRest.Replace("= ", "=", "\"", "\""));
|
||||
while (sRest.Replace(" =", "=", "\"", "\"")) ;
|
||||
while (sRest.Replace("= ", "=", "\"", "\"")) ;
|
||||
|
||||
VCString vArgs;
|
||||
MCString msArgs;
|
||||
|
||||
Reference in New Issue
Block a user