SuSE 12 has many warning messages due to not handled return values. Wrapper functions or handling the return values in place could help, The following is only a sample of the warning messages.
ov_rest_reset.c:333:49: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
ov_rest_control.c:190:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
ov_rest_event.c:1061:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
ov_rest_event.c:1225:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
SuSE 12 has many warning messages due to not handled return values. Wrapper functions or handling the return values in place could help, The following is only a sample of the warning messages. ov_rest_reset.c:333:49: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] ov_rest_control.c:190:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] ov_rest_event.c:1061:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] ov_rest_event.c:1225:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
Reported by: mohandev2
Original Ticket: openhpi/bugs/1951