diff options
author | okan | 2014-01-30 15:43:53 +0000 |
---|---|---|
committer | okan | 2014-01-30 15:43:53 +0000 |
commit | 898be2f9c2c9502ebd3b95e65042473b0ddca25e (patch) | |
tree | 4777251c20a003222cda9b180fe89d8285156582 /conf.c | |
parent | 0a9f61cb393cf96147389b138b883df1ead53d6b (diff) | |
download | cwm-898be2f9c2c9502ebd3b95e65042473b0ddca25e.tar.gz |
use the same autogroupwin variable as everywhere else
Diffstat (limited to '')
-rw-r--r-- | conf.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 <sys/param.h> @@ -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) { |