Re: [dev] [PATCH] Make build shut up about system() without return value check.

2015-04-21 Thread Roberto E. Vargas Caballero
> st.c:1321:2: warning: ignoring return value of function declared with > warn_unused_result attribute [-Wunused-result] > system(cmd); > ^~ ~~~ I usually don't care about this kind of warnings, but in this case I think we should check the value returned by system

[dev] [PATCH] Make build shut up about system() without return value check.

2015-04-21 Thread Alex Pilon
st.c:1321:2: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] system(cmd); ^~ ~~~ Debatable whether an error here should case exit(EXIT_FAILURE). Just preserving the existing behaviour for now. --- st.c | 3 ++