From 3e5c759543f57e6aabb8142ef194d5e4d45722d8 Mon Sep 17 00:00:00 2001 From: Alan Jenkins Date: Sat, 25 Oct 2008 15:19:48 +0200 Subject: [PATCH] fix handling of string_escape option --- udev/udev-rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5