test_object: Fix a duplicate conditional check in test_iterators

This commit is contained in:
Lioncash 2015-02-05 01:26:13 -05:00
parent 58c188e1d5
commit c242b46016

View File

@ -292,7 +292,7 @@ static void test_iterators()
foo = json_string("foo"); foo = json_string("foo");
bar = json_string("bar"); bar = json_string("bar");
baz = json_string("baz"); baz = json_string("baz");
if(!object || !foo || !bar || !bar) if(!object || !foo || !bar || !baz)
fail("unable to create values"); fail("unable to create values");
if(json_object_iter_next(object, NULL)) if(json_object_iter_next(object, NULL))