if (!end1 && !end2) break;
status = !end1 ^ !end2;
status = !end1 && !end2; ok(!status, "Line %u, test %u: Mismatch in size, test declaration
is %s than expected.\n", line, test_id, end1 ? "shorter" : "longer"); if (status)
Doesn't this change the meaning of the code? You could also just make it into "status = FALSE", since when it's true the conditional break is used.
Regards, Fabian Maurer
2017-10-09 19:21 GMT+02:00 Fabian Maurer dark.shadow4@web.de:
if (!end1 && !end2) break;
status = !end1 ^ !end2;
status = !end1 && !end2; ok(!status, "Line %u, test %u: Mismatch in size, test declaration
is %s than expected.\n", line, test_id, end1 ? "shorter" : "longer"); if (status)
Doesn't this change the meaning of the code? You could also just make it into "status = FALSE", since when it's true the conditional break is used.
Yeah, that doesn't look right.