diff options
author | Hungming Chen <nuccachen@google.com> | 2020-11-19 20:10:17 +0800 |
---|---|---|
committer | Nucca Chen <nuccachen@google.com> | 2020-11-19 12:43:21 +0000 |
commit | 8380a99720ca2693dbce2f47bb5f66c7f1ed34b2 (patch) | |
tree | 8e55703b22065e4133f97789bb85d2e88d631d55 | |
parent | 456ad87cd89ea318c7a7df05b65c619c83f545d9 (diff) | |
download | ipacfg-mgr-8380a99720ca2693dbce2f47bb5f66c7f1ed34b2.tar.gz |
Fix the HAL uninitialized error message for setLocalPrefixes
Test: build only
Change-Id: Ieb583b224faf4dc6b91454b85ffc1c9415fbbe31
-rw-r--r-- | hal/src/HAL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/src/HAL.cpp b/hal/src/HAL.cpp index d72d274..e019c74 100644 --- a/hal/src/HAL.cpp +++ b/hal/src/HAL.cpp @@ -410,7 +410,7 @@ Return<void> HAL::setLocalPrefixes memset(&res,0,sizeof(BoolResult)); if (!isInitialized()) { - BoolResult res = makeInputCheckFailure("Not initialized"); + res = makeInputCheckFailure("Not initialized"); } else if(prefixesStr.size() < 1) { res = ipaResultToBoolResult(RET::FAIL_INPUT_CHECK); } else if (!parser.add(prefixesStr)) { |