From a2dceb2feb96653f36b44d6af4c4beda2d54ab92 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Wed, 20 Jun 2012 16:50:56 +0200 Subject: [PATCH] remove dublicate initialisation of rule --- dunst.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dunst.c b/dunst.c index 22b363d..ec4e51f 100644 --- a/dunst.c +++ b/dunst.c @@ -920,15 +920,6 @@ dunst_rules_find_or_create(const char *section) { current_rule = initrule(); current_rule->name = strdup(section); - current_rule->appname = NULL; - current_rule->summary = NULL; - current_rule->body = NULL; - current_rule->icon = NULL; - current_rule->timeout = -1; - current_rule->urgency = -1; - current_rule->fg = NULL; - current_rule->bg = NULL; - current_rule->format = NULL; last_rule = rules; while (last_rule && last_rule->next) {