Description of problem: I just tried to compile package macutils-2.0b3-25 from Fedora. The compiler said 1. hqx.c(392): remark #1011: missing return statement at end of non-void function "getqbuf" The source code is /* getqbuf(); q format -- read n characters from input into buf */ static getqbuf(buf, n) char *buf; int n; { int i; for(i = 0; i < n; i++) { *buf++ = getq(); } } Maybe getqbuf should have void return type ? Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
There is no return statement missing. The function is only used as a void function. It would be nice to explictly declare the function as void. I'm sure that not doing that, does not cause any problems.
the code are old and probably need to be cleaned up. if someone wants to cleanup, just do it.