Skip to content

Commit

Permalink
cc: Fix assertion for debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
goldshtn committed Mar 3, 2017
1 parent d7a5ff0 commit 9ca8ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cc/usdt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9ca8ac2

Please sign in to comment.