diff --git a/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/wifi_service_manager_test.cpp b/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/wifi_service_manager_test.cpp index 0b874375c..83936b97f 100644 --- a/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/wifi_service_manager_test.cpp +++ b/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/wifi_service_manager_test.cpp @@ -123,7 +123,7 @@ HWTEST_F(WifiServiceManagerTest, ApServiceSetHotspotConfigTest, TestSize.Level1) HWTEST_F(WifiServiceManagerTest, GetEnhanceServiceInstTest, TestSize.Level1) { WIFI_LOGE("GetEnhanceServiceInstTest enter!"); - IEnhanceService *result = WifiServiceManager::GetInstance().GetEnhanceServiceInst(); + WifiServiceManager::GetInstance().GetEnhanceServiceInst(); } } // namespace Wifi } // namespace OHOS \ No newline at end of file