Remove a bunch of dead code identified by cppcheck

This commit is contained in:
ridiculousfish
2014-10-31 01:15:50 -07:00
parent a529fc9d83
commit 7ac593273e
20 changed files with 14 additions and 462 deletions

View File

@@ -1588,14 +1588,14 @@ bool completer_t::complete_param(const wcstring &scmd_orig, const wcstring &spop
wcstring completion = format_string(L"%ls=", whole_opt.c_str()+offset);
append_completion(this->completions,
completion,
C_(o->desc.c_str()),
C_(o->desc),
flags);
}
append_completion(this->completions,
whole_opt.c_str() + offset,
C_(o->desc.c_str()),
C_(o->desc),
flags);
}
}