Fix the HAL uninitialized error message for setLocalPrefixes

Test: build only

Change-Id: Ieb583b224faf4dc6b91454b85ffc1c9415fbbe31
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 @@
     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)) {