26.09.2009, 15:16
warning 206: redundant test: constant expression is non-zero
this happents on this line: if(tmp, OpenA, true)
this happents on this line: if(tmp, OpenA, true)
redundant test: constant expression is non-zero Where a conditional expression was expected, a constant expression with a non-zero value was found, e.g. if (1). The test is redundant, because the conditional code is always executed. To create an endless loop, use for ( ;; ) instead of while (1).