Commit 4c831341 authored by Chris Toshok's avatar Chris Toshok

quiet gcc warning

parent 28da35c7
......@@ -2587,7 +2587,7 @@ void setupRuntime() {
}
BoxedModule* createModule(const std::string& name, const char* fn, const char* doc) {
assert(!fn || strlen(fn) && "probably wanted to set the fn to <stdin>?");
assert((!fn || strlen(fn)) && "probably wanted to set the fn to <stdin>?");
BoxedDict* d = getSysModulesDict();
Box* b_name = boxStringPtr(&name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment