summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bplist.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bplist.c b/src/bplist.c
index 124b024..0122e08 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -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) {