Commit 4971dc8b authored by Nikias Bassen's avatar Nikias Bassen

bplist: Remove misleading/redundant `else` from BPLIST_DATE case in parse_bin_node

parent 582c59bf
......@@ -580,10 +580,9 @@ static plist_t parse_bin_node(struct bplist_data *bplist, const char** object)
case BPLIST_DATE:
if (3 != size)
return NULL;
else
if (*object - bplist->data + (uint64_t)(1 << size) >= bplist->size)
return NULL;
return parse_date_node(object, size);
if (*object - bplist->data + (uint64_t)(1 << size) >= bplist->size)
return NULL;
return parse_date_node(object, size);
case BPLIST_DATA:
if (BPLIST_FILL == size) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment