Community
Participate
Working Groups
Created attachment 246777 [details] patch proposal Is it possible to integrate attached patch to fix following Coverity warning ? Thanks. (3) Event check_return: Calling function "print_trace(int, char const *, ...)" without checking return value (as is done elsewhere 0 out of 7 times). (4) Event unchecked_value: No check of the return value of "print_trace(0, "Reply error %d: %s\n", error, tcf_errno_to_str(error))". 102 trace(LOG_ALWAYS, "Reply error %d: %s\n", 103 error, errno_to_str(error));
The patch causes build error: tcf/main/main.c: In function ‘void check_idle_timeout(void*)’: tcf/main/main.c:105:91: error: third operand to the conditional operator is of type ‘void’, but the second operand is neither a throw-expression nor of type ‘void’ I have committed slightly different change. Fixed. Thanks.
Sorry didn't get this error our compiler. Thanks a lot.