From: Donghak PARK Date: Tue, 29 Aug 2023 06:33:41 +0000 (+0900) Subject: [Coverity] Fix Coverity issue on task_runner.cpp X-Git-Tag: accepted/tizen/8.0/unified/20231005.093407~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c53f9c4e1eb1283a265873d9d39a9793c3ca0f5;p=platform%2Fcore%2Fml%2Fnntrainer.git [Coverity] Fix Coverity issue on task_runner.cpp Fix Coverity issue - returned_null : potentialy getcwd can returns nullptr so check it's value Signed-off-by: Donghak PARK --- diff --git a/Applications/SimpleShot/task_runner.cpp b/Applications/SimpleShot/task_runner.cpp index d2552f4..15e2e0a 100644 --- a/Applications/SimpleShot/task_runner.cpp +++ b/Applications/SimpleShot/task_runner.cpp @@ -113,7 +113,7 @@ const std::string getcwd_() { using LayerHandle = std::shared_ptr; /** - * @brief Create a Model with given backbone and varient setup + * @brief Create a Model with given backbone and variant setup * * @param backbone either conv4 or resnet50, hardcoded tflite path will be * selected