aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-10-14 19:06:02 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-10-14 19:06:02 +0300
commit4e9aeb3c4ffc69daff061c8b870f1a228bb78175 (patch)
treee56ce0518c621211504039d9b78bcae6d21554da /src/map.c
parent9752a52355f237729a9536eccd930cb60a198695 (diff)
downloadrspamd-4e9aeb3c4ffc69daff061c8b870f1a228bb78175.tar.gz
rspamd-4e9aeb3c4ffc69daff061c8b870f1a228bb78175.zip
Remove some warnings.
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map.c b/src/map.c
index 300f2eb83..b37082bd0 100644
--- a/src/map.c
+++ b/src/map.c
@@ -1044,14 +1044,6 @@ start_map_watch (void)
void
remove_all_maps (void)
{
- GList *cur = maps;
- struct rspamd_map *map;
-
- /* First of all do synced read of data */
- while (cur) {
- map = cur->data;
- cur = g_list_next (cur);
- }
g_list_free (maps);
maps = NULL;
if (map_pool != NULL) {