Skip to content

Commit

Permalink
Fix warning about always-true condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Sep 17, 2015
1 parent 42859b9 commit 0b7e477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/test-core/test-engine-stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ set_tran_random_string(Transaction* trn,
void(*func)(Transaction *act, const gchar*str))
{
gchar *tmp_str = get_random_string();
if (!trn || !(&trn->inst))
if (!trn)
{
return;
}
Expand Down

0 comments on commit 0b7e477

Please sign in to comment.