From: Alan Jenkins Date: Sat, 25 Oct 2008 13:19:48 +0000 (+0200) Subject: fix handling of string_escape option X-Git-Tag: 174~1379 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e5c759543f57e6aabb8142ef194d5e4d45722d8;p=systemd fix handling of string_escape option --- diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 8c0e1d96..4df9eb35 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -1830,6 +1830,7 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event { struct token *cur; struct token *rule; + enum escape_type esc = ESCAPE_UNSET; if (rules->tokens == NULL) return -1; @@ -1838,7 +1839,6 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event cur = &rules->tokens[0]; rule = cur; while (cur != NULL && cur->type != TK_END) { - enum escape_type esc = ESCAPE_UNSET; unsigned int idx; dump_token(rules, cur);