Bugzilla – Bug 156966
pixmp-2.6-1024: wrong return type on function ?
Last modified: 2006-03-13 15:56:08 UTC
I just tried to compile package pixmp-2.6-1024 with the GNU C compiler. It said 1. Draw.c:230: warning: "return" with no value, in function returning non-void Draw.c:235: warning: "return" with no value, in function returning non-void The source code is if (!(--dir->nEntries)) { return; } n = dir - &(SFdirs[SFdirPtr]); if ((n < 0) || (n > 2)) { return; I agree with the compiler. Suggest change return type of function from "int" to "void".
I will fix it. Thank you for reporting.
Fixed, submited.