Fix 'left value is garbage value' warning from clang static analyzer