Warning cleanup

This commit is contained in:
ridiculousfish
2012-07-28 17:49:46 -07:00
parent 1b8f1650dc
commit 2e1b3325c6
26 changed files with 94 additions and 126 deletions

View File

@@ -108,7 +108,7 @@ int autoload_t::load( const wcstring &cmd, bool reload )
res = this->locate_file_and_maybe_load_it( cmd, true, reload, path_list );
/* Clean up */
int erased = is_loading_set.erase(cmd);
bool erased = !! is_loading_set.erase(cmd);
assert(erased);
return res;