diff options
author | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2017-08-21 15:15:36 -0400 |
---|---|---|
committer | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2017-08-21 15:15:55 -0400 |
commit | 738d2ab96997faa1e13b91e38cf8a0000d829f70 (patch) | |
tree | e33258663017edb924695e68224ba836e5fc9f08 /main/tests | |
parent | 4717d37bfa867d8cdcd4805967324978da6701b7 (diff) |
Removed unnecessary assignments
Diffstat (limited to 'main/tests')
-rw-r--r-- | main/tests/test_string.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/tests/test_string.cpp b/main/tests/test_string.cpp index 5531b71c96..0ff84a8286 100644 --- a/main/tests/test_string.cpp +++ b/main/tests/test_string.cpp @@ -802,7 +802,6 @@ bool test_28() { bool test_29() { bool state = true; - bool success = false; IP_Address ip0("2001:0db8:85a3:0000:0000:8a2e:0370:7334"); OS::get_singleton()->print("ip0 is %ls\n", String(ip0).c_str()); @@ -817,7 +816,7 @@ bool test_29() { OS::get_singleton()->print("ip6 is %ls\n", String(ip3).c_str()); String ip4 = "192.168.0.1"; - success = ip4.is_valid_ip_address(); + bool success = ip4.is_valid_ip_address(); OS::get_singleton()->print("Is valid ipv4: %ls, %s\n", ip4.c_str(), success ? "OK" : "FAIL"); if (!success) state = false; |