[Common] Fix problems found by Cppcheck #14178
+40
−46
Draft
Loading