Skip to content

Commit 800b061

Browse files
committed
esp32: resolve repeated return statement issue
1 parent 3819634 commit 800b061

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/platform/ESP32/DiagnosticDataProviderImpl.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,9 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetThreadMetrics(ThreadMetrics ** threadM
325325
*threadMetricsOut = head;
326326

327327
return CHIP_NO_ERROR;
328-
#endif
328+
#else
329329
return CHIP_ERROR_NOT_IMPLEMENTED;
330+
#endif
330331
}
331332

332333
void DiagnosticDataProviderImpl::ReleaseThreadMetrics(ThreadMetrics * threadMetrics)

0 commit comments

Comments
 (0)