[Coverity] Fix Coverity issue on task_runner.cpp
authorDonghak PARK <donghak.park@samsung.com>
Tue, 29 Aug 2023 06:33:41 +0000 (15:33 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Wed, 20 Sep 2023 06:48:51 +0000 (15:48 +0900)
Fix Coverity issue
- returned_null : potentialy getcwd can returns nullptr so check it's value

Signed-off-by: Donghak PARK <donghak.park@samsung.com>
Applications/SimpleShot/task_runner.cpp

index d2552f4..15e2e0a 100644 (file)
@@ -113,7 +113,7 @@ const std::string getcwd_() {
 using LayerHandle = std::shared_ptr<ml::train::Layer>;
 
 /**
- * @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