minicheck.c: Fix volatile variables (#235)
This commit is contained in:
parent
42d904741b
commit
b306ee963f
@ -165,12 +165,12 @@ void
|
||||
srunner_run_all(SRunner *runner, int verbosity)
|
||||
{
|
||||
Suite *suite;
|
||||
TCase *tc;
|
||||
TCase * volatile tc;
|
||||
assert(runner != NULL);
|
||||
suite = runner->suite;
|
||||
tc = suite->tests;
|
||||
while (tc != NULL) {
|
||||
int i;
|
||||
volatile int i;
|
||||
for (i = 0; i < tc->ntests; ++i) {
|
||||
runner->nchecks++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user