From f78f685babcd7390daad3c8fce519a110cae36c6 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Sun, 21 Aug 2016 16:30:05 -0500 Subject: [PATCH] Remove needless if. resolves #516 --- src/lib_json/json_value.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp index 5adfef4..7b6c89a 100644 --- a/src/lib_json/json_value.cpp +++ b/src/lib_json/json_value.cpp @@ -502,8 +502,7 @@ Value::~Value() { JSON_ASSERT_UNREACHABLE; } - if (comments_) - delete[] comments_; + delete[] comments_; value_.uint_ = 0; }