You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…
command_dynamic.cc:330:14: warning: variable 'new_flags' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if (options.find("list") != std::string::npos)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
command_dynamic.cc:340:50: note: uninitialized use occurs here
return system_method_insert_object(new_args, new_flags);
^~~~~~~~~
command_dynamic.cc:330:10: note: remove the 'if' if its condition is always true
else if (options.find("list") != std::string::npos)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
command_dynamic.cc:322:18: note: initialize the variable 'new_flags' to silence this warning
int new_flags;
^
= 0
…
(clang/ macOS)
The text was updated successfully, but these errors were encountered:
(clang/ macOS)
The text was updated successfully, but these errors were encountered: