Red Hat Bugzilla – Bug 149364
missing return statement
Last modified: 2007-11-30 17:11:00 EST
Description of problem:
I just tried to compile package apt-0.5.15cnc6-16.r362 from
Redhat Fedora Extras development tree.
The compiler said
local/linit.c(7): warning #1011: missing return statement at end of
non-void function "luaopen_init"
It seems that the function at line 7 is declared as having int return
type, but there is no return statement in the body of the routine.
Suggest add return statement.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This has been fixed in SVN for some time now.