Slight style tweaks to the bsearch changest.

This commit is contained in:
Eric Haszlakiewicz committed 2015-03-04 03:10:10 +00:00
1 parent a500c1f0b5
commit 484ca368f0
1 file changed
+1 -3
+1 -3
View File
@@ -899,12 +899,10 @@ struct json_object* json_object_array_bsearch(
result = (struct json_object **)array_list_bsearch(
(const void **)&key, jso->o.c_array, sort_fn);
if ( result == NULL ) {
if (!result)
return NULL;
} else {
return *result;
}
}
int json_object_array_length(struct json_object *jso)
{