From ef71335ceb286b3669919046ebccfbdf8cea9819 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 18 May 2007 00:32:22 +0000 Subject: [PATCH] (config_command): Set NAME before using it. --- src/input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/input.c b/src/input.c index 3cc1086..8f6cfa9 100644 --- a/src/input.c +++ b/src/input.c @@ -1742,14 +1742,13 @@ config_command (MPlist *plist, MPlist *global_cmds, MPlist *custom_cmds, MPlist *config_cmds) { MPlist *global = NULL, *custom = NULL, *config = NULL; - MSymbol name; + MSymbol name = MPLIST_SYMBOL (plist); MSymbol status; MPlist *description, *keyseq; if (global_cmds && (global = mplist__assq (global_cmds, name))) global = MPLIST_NEXT (MPLIST_PLIST (global)); - name = MPLIST_SYMBOL (plist); plist = MPLIST_NEXT (plist); if (MPLIST_MTEXT_P (plist) || MPLIST_PLIST_P (plist)) { -- 1.7.10.4