Snippets for cunit-original 2.1.3 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/CUnit/2.1.3/38.fc45/data/logs/i686/build.log.
-
TestRun.c:965:16: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 965 | CU_ErrorCode result = CUE_SUCCESS; | ^~~~~~ -
Console.c:167:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | fgets(szTemp, 256, stdin); /* flush any chars out of the read buffer */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Console.c:246:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 246 | fgets(szTemp, 256, stdin); /* flush any chars out of the read buffer */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Console.c:423:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 423 | fgets(buffer, 100, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Console.c:462:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 462 | fgets(buffer, 100, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Console.c:325:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 325 | fgets(szTemp, 256, stdin); /* flush any chars out of the read buffer */ | ^~~~~~~~~~~~~~~~~~~~~~~~~