summaryrefslogtreecommitdiff
path: root/src/select
diff options
context:
space:
mode:
Diffstat (limited to 'src/select')
-rw-r--r--src/select/hash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/select/hash.c b/src/select/hash.c
index 6fc08d7..9f83cfb 100644
--- a/src/select/hash.c
+++ b/src/select/hash.c
@@ -856,8 +856,9 @@ css_error _insert_into_chain(css_selector_hash *ctx, hash_entry *head,
#endif
if (prev == NULL) {
+ hash_entry temp;
entry->next = entry;
- hash_entry temp = *entry;
+ temp = *entry;
*entry = *head;
*head = temp;
} else {