From 898be2f9c2c9502ebd3b95e65042473b0ddca25e Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 30 Jan 2014 15:43:53 +0000 Subject: use the same autogroupwin variable as everywhere else --- conf.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/conf.c b/conf.c index b35b7c5..ad991cc 100644 --- a/conf.c +++ b/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.168 2014/01/30 14:40:21 okan Exp $ + * $OpenBSD: conf.c,v 1.169 2014/01/30 15:43:53 okan Exp $ */ #include @@ -287,7 +287,7 @@ conf_init(struct conf *c) void conf_clear(struct conf *c) { - struct autogroupwin *ag; + struct autogroupwin *aw; struct binding *kb, *mb; struct winmatch *wm; struct cmd *cmd; @@ -303,11 +303,11 @@ conf_clear(struct conf *c) free(kb); } - while ((ag = TAILQ_FIRST(&c->autogroupq)) != NULL) { - TAILQ_REMOVE(&c->autogroupq, ag, entry); - free(ag->class); - free(ag->name); - free(ag); + while ((aw = TAILQ_FIRST(&c->autogroupq)) != NULL) { + TAILQ_REMOVE(&c->autogroupq, aw, entry); + free(aw->class); + free(aw->name); + free(aw); } while ((wm = TAILQ_FIRST(&c->ignoreq)) != NULL) { -- cgit v1.2.3-2-gb3c3