commit | f78f685babcd7390daad3c8fce519a110cae36c6 | [log] [tgz] |
---|---|---|
author | Christopher Dunn <cdunn2001@gmail.com> | Sun Aug 21 16:30:05 2016 -0500 |
committer | Christopher Dunn <cdunn2001@gmail.com> | Sun Aug 21 16:31:14 2016 -0500 |
tree | 10ac599ad4c1398de1e4d583e8f03275885479ed | |
parent | 7d8eddb98cdca69b9b8db4f8bd11b8abf69d07eb [diff] |
Remove needless if. resolves #516
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 @@ JSON_ASSERT_UNREACHABLE; } - if (comments_) - delete[] comments_; + delete[] comments_; value_.uint_ = 0; }