Commit 36f7eaad authored by Max Kellermann's avatar Max Kellermann

input/LocalOpen: make assert() more strict

parent 1eb93006
......@@ -53,7 +53,8 @@ OpenLocalInputStream(Path path, Mutex &mutex, Cond &cond)
}
#endif
assert(is == nullptr || is->IsReady());
assert(is);
assert(is->IsReady());
return is;
}
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