Actions
Cleanup #15292
closedcompiler warning on unused variable
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
I am watching this warning from some time ago. It seems the 'm' variable is dead code in MDSMonitor. Compiler shows the following warning:
...
mon/MDSMonitor.cc: In member function ‘int MDSMonitor::filesystem_command(MonOpRequestRef, const string&, std::map<std::basic_string<char>, boost::variant<std::basic_string<char>, bool, long int, double, std::vector<std::basic_string<char> > > >&, std::stringstream&)’:
mon/MDSMonitor.cc:2115:16: warning: unused variable ‘m’ [-Wunused-variable]
MMonCommand m = static_cast<MMonCommand>(op->get_req());
...
Updated by Javier M. Mellid about 8 years ago
PR available at:
Updated by Javier M. Mellid about 8 years ago
I have not enough privileges to handle tags in this part of the tracker. Anyone changing the status of 'New' to 'Need Review' in this ticket? Thanks in advance!
Updated by Sage Weil about 8 years ago
- Status changed from Fix Under Review to Resolved
Actions