[Verion] : 0.23.22-0
[Issue type] : bug fix
Fixed two coverity issues.
Change-Id: I883415d8411b077164a8d804efd5d9aabacd5b1f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
void NNTrainerFVM::Remove()
{
// Remove existing file forcely.
- ::remove(_feature_vector_file.c_str());
+ int ret = ::remove(_feature_vector_file.c_str());
+ if (ret)
+ throw InvalidOperation("Fail to remove feature vector file.");
}
\ No newline at end of file
void LabelManager::Remove()
{
// Remove existing files forcely.
- ::remove(_label_file.c_str());
+ int ret = ::remove(_label_file.c_str());
+ if (ret)
+ throw InvalidOperation("Fail to remove label file.");
}
\ No newline at end of file
Name: capi-media-vision
Summary: Media Vision library for Tizen Native API
-Version: 0.23.21
+Version: 0.23.22
Release: 0
Group: Multimedia/Framework
License: Apache-2.0 and BSD-3-Clause