Return nullptr for InitRSQRT (#2533)
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 30 Aug 2018 08:13:18 +0000 (17:13 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 30 Aug 2018 08:13:18 +0000 (17:13 +0900)
Return nullptr for InitRSQRT to avoid svace warning

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
libs/support/tflite/src/kernels/RSQRT.cpp

index 7fe81b3..dfb5b0c 100644 (file)
@@ -32,7 +32,7 @@ namespace nnfw
 namespace RSQRT
 {
 
-void *InitRSQRT(TfLiteContext *context, const char *buffer, size_t length) {}
+void *InitRSQRT(TfLiteContext *context, const char *buffer, size_t length) { return nullptr; }
 
 void FreeRSQRT(TfLiteContext *context, void *buffer) {}