[Coverity] fix coverity issues
authorSeungbaek Hong <sb92.hong@samsung.com>
Tue, 30 Jan 2024 08:00:00 +0000 (17:00 +0900)
committerjijoong.moon <jijoong.moon@samsung.com>
Wed, 20 Mar 2024 06:19:48 +0000 (15:19 +0900)
commit8256cf3f9063fba87b13feaaee8f9e2f7631ed02
treeebe433f2d254f0c7b244ff6ff2fb3677ceb9e475
parent0590d797483e2ba1336310a598669877e2b8dbac
[Coverity] fix coverity issues

fix some coverity issues.

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Seungbaek Hong <sb92.hong@samsung.com>
nntrainer/graph/network_graph.cpp