From ddac55403efc2fa4de7ad484a057bd96c24335c5 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Tue, 16 Dec 2014 14:12:10 +0000 Subject: Db_autobackups: small clean git-svn-id: http://svn.miranda-ng.org/main/trunk@11461 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db_autobackups/src/backup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Db_autobackups') diff --git a/plugins/Db_autobackups/src/backup.cpp b/plugins/Db_autobackups/src/backup.cpp index 14cc06d05e..22090ee0f6 100644 --- a/plugins/Db_autobackups/src/backup.cpp +++ b/plugins/Db_autobackups/src/backup.cpp @@ -199,7 +199,7 @@ int RotateBackups(TCHAR *backupfolder, TCHAR *dbname) } while (FindNextFile(hFind, &FindFileData)); if (i > 0) qsort(bf, i, sizeof(backupFile), Comp); /* Sort the list of found files by date in descending order. */ - for (i; i >= options.num_backups; i --) { + for (; i >= options.num_backups; i --) { mir_sntprintf(backupfolderTmp, SIZEOF(backupfolderTmp), _T("%s\\%s"), backupfolder, bf[(i - 1)].Name); DeleteFile(backupfolderTmp); } -- cgit v1.2.3