diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-12-15 10:58:17 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-12-15 10:58:17 +0000 |
commit | 963caa90309ab1ad59d0f0ac75e44ef20cd6e924 (patch) | |
tree | f67de99bf0155012161d9bcda80c45d1253b8956 | |
parent | c6a6c1afe19a91af5032017cc31cf00d8fc5ccaa (diff) | |
download | libcss-963caa90309ab1ad59d0f0ac75e44ef20cd6e924.tar.gz libcss-963caa90309ab1ad59d0f0ac75e44ef20cd6e924.tar.bz2 |
Attempt to make Coverity understand what's happening. I think this is a little less readable though. #1137923.
-rw-r--r-- | src/select/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/hash.c b/src/select/hash.c index 249aeb6..6fc08d7 100644 --- a/src/select/hash.c +++ b/src/select/hash.c @@ -856,9 +856,9 @@ css_error _insert_into_chain(css_selector_hash *ctx, hash_entry *head, #endif if (prev == NULL) { + entry->next = entry; hash_entry temp = *entry; *entry = *head; - temp.next = entry; *head = temp; } else { entry->next = prev->next; |