From 6f0b135140684d53b0a1685055500d8f0447de13 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 10 Oct 2015 06:57:38 +0000 Subject: [PATCH] Fix warning: explicitly assigning value of variable of type 'CACHE1D_FIND_REC *' (aka '_CACHE1D_FIND_REC *') to itself [-Wself-assign] git-svn-id: https://svn.eduke32.com/eduke32@5378 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/startgtk.game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/startgtk.game.c b/polymer/eduke32/source/startgtk.game.c index 6ff76c27a..1657dc986 100644 --- a/polymer/eduke32/source/startgtk.game.c +++ b/polymer/eduke32/source/startgtk.game.c @@ -289,7 +289,7 @@ static unsigned char GetModsDirNames(GtkListStore *list) { Bsnprintf(pdir, sizeof(pdir), "%s/" ".eduke32", homedir); dirs = klistpath(pdir, "*", CACHE1D_FIND_DIR); - for (dirs=dirs; dirs != NULL; dirs=dirs->next) + for (; dirs != NULL; dirs=dirs->next) { if ((Bstrcmp(dirs->name, "autoload") == 0) || (Bstrcmp(dirs->name, "..") == 0) ||