aboutsummaryrefslogtreecommitdiffhomepage
path: root/autoload.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-28 17:49:46 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-04 11:34:45 -0700
commit2e1b3325c63cd6c43a10a08acfc54d1fb29a5c03 (patch)
treebf02e8d37f7ea5ffe28d293ad7bd3b690cc7dae6 /autoload.cpp
parent1b8f1650dc9959ace0df2037f751682e73b5bb1d (diff)
Warning cleanup
Diffstat (limited to 'autoload.cpp')
-rw-r--r--autoload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload.cpp b/autoload.cpp
index b1c48ca0..6ac3976f 100644
--- a/autoload.cpp
+++ b/autoload.cpp
@@ -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;