Bug 116353

Summary: missing return statement
Product: [Fedora] Fedora Reporter: d.binderman
Component: emacsAssignee: Jens Petersen <petersen>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: MoveUpstream
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-29 07:30:14 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description d.binderman 2004-02-20 09:32:36 EST
Description of problem:

I just tried to compile development package emacs-21.3-9

The compiler said

keyboard.c(1320): warning #1011: missing return statement at end of
non-void function "cancel_hourglass_unwind"

The source code is

static Lisp_Object
cancel_hourglass_unwind (arg)
     Lisp_Object arg;
{
  cancel_hourglass ();
}

Looks like a missing return statement to me. You might also
like to convert this code from K&R to ISO.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Jens Petersen 2004-04-15 11:36:55 EDT
I'm happy to accept unintrusive patches to fix these kind of
compiler warnings, but I recommend taking this upstream: eg
reporting it on emacs-devel.