Skip to content

Commit

Permalink
Changed the assert in explodesInTestEnvironment to make gcc7 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jwgrenning committed Sep 15, 2017
1 parent 0d239ef commit 6df7dba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code-t1/src/util/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@

void explodesInTestEnvironment(void * p)
{
assert(p == "Explode - intercepted call that cannot be made in test environment");
assert(0 == "Explode - intercepted call that cannot be made in test environment");
}
2 changes: 1 addition & 1 deletion code-t2/src/util/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@

void explodesInTestEnvironment(void * p)
{
assert(p == "Explode - intercepted call that cannot be made in test environment");
assert(0 == "Explode - intercepted call that cannot be made in test environment");
}
2 changes: 1 addition & 1 deletion code-t3/src/util/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@

void explodesInTestEnvironment(void * p)
{
assert(p == "Explode - intercepted call that cannot be made in test environment");
assert(0 == "Explode - intercepted call that cannot be made in test environment");
}

0 comments on commit 6df7dba

Please sign in to comment.