diff options
Diffstat (limited to 'src/modules/clist/clistsettings.cpp')
-rw-r--r-- | src/modules/clist/clistsettings.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/clist/clistsettings.cpp b/src/modules/clist/clistsettings.cpp index 606d8e6864..fc5b202247 100644 --- a/src/modules/clist/clistsettings.cpp +++ b/src/modules/clist/clistsettings.cpp @@ -40,8 +40,7 @@ void InitDisplayNameCache(void) void FreeDisplayNameCache(void)
{
if (clistCache != NULL) {
- int i;
- for (i=0; i < clistCache->realCount; i++) {
+ for (int i=0; i < clistCache->realCount; i++) {
cli.pfnFreeCacheItem((ClcCacheEntry*)clistCache->items[i]);
mir_free(clistCache->items[i]);
}
|