open-hpi / openhpi

Other
6 stars 10 forks source link

Warning messages see during make on SuSE 12 #1951

Closed mohandev2 closed 6 years ago

mohandev2 commented 7 years ago

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

mohandev2 commented 7 years ago

Original comment by: mohandev2

mohandev2 commented 7 years ago

Original comment by: HemanthBeecherla

mohandev2 commented 7 years ago

Fixed in revision 7714.

Original comment by: HemanthBeecherla