diff --git a/unit_test/test/json_test.cpp b/unit_test/test/json_test.cpp index 522fe2c..9afe384 100644 --- a/unit_test/test/json_test.cpp +++ b/unit_test/test/json_test.cpp @@ -31,10 +31,6 @@ TEST(json_encode_test, retOK) auto main(int argc, char* argv[]) -> int { - int ret; - testing::InitGoogleTest(&argc, argv); - ret = RUN_ALL_TESTS(); - - return 0; + return RUN_ALL_TESTS(); }