Skip to content

Commit f78f685

Browse files
committed
Remove needless if.
resolves open-source-parsers#516
1 parent 7d8eddb commit f78f685

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib_json/json_value.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,7 @@ Value::~Value() {
502502
JSON_ASSERT_UNREACHABLE;
503503
}
504504

505-
if (comments_)
506-
delete[] comments_;
505+
delete[] comments_;
507506

508507
value_.uint_ = 0;
509508
}

0 commit comments

Comments
 (0)