ref: e4ab13f855edb0a23deca48e11069668c5b6ae51
parent: c1fd029e45200dfa0c4f0efe6c80337dd127173e
author: Tor Andersson <[email protected]>
date: Tue Jan 28 18:36:00 EST 2014
Fix clang scan-build warning.
--- a/jsproperty.c
+++ b/jsproperty.c
@@ -218,7 +218,7 @@
js_Iterator *node = malloc(sizeof *node);
node->name = prop->name;
node->next = NULL;
- if (!io->u.iter.head) {
+ if (!tail) {
io->u.iter.head = tail = node;
} else {
tail->next = node;