Commit 9ca8ac28 authored by Sasha Goldshtein's avatar Sasha Goldshtein

cc: Fix assertion for debug builds

parent d7a5ff09
......@@ -63,7 +63,7 @@ bool Probe::resolve_global_address(uint64_t *global, const uint64_t addr) {
}
bool Probe::add_to_semaphore(int16_t val) {
assert(pid_ && attached_semaphore_);
assert(pid_);
if (!attached_semaphore_) {
uint64_t addr;
......
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