mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix a bunch of style suggestions from cppcheck[1]
Thanks to DarthGandalf for this patch. You must be bored. :P [1] cppcheck.sf.net git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1776 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -490,7 +490,7 @@ bool CDir::MakeDir(const CString& sPath, mode_t iMode) {
|
||||
|
||||
// For every single subpath, do...
|
||||
sPath.Split("/", dirs, false);
|
||||
for (it = dirs.begin(); it != dirs.end(); it++) {
|
||||
for (it = dirs.begin(); it != dirs.end(); ++it) {
|
||||
// Add this to the path we already created
|
||||
sDir += *it;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user