www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Koktan <kok...@nkp.cz>
Subject mod_jserv/5578: compile problem; return statement with an expression at end of void function
Date Thu, 13 Jan 2000 15:33:42 GMT

>Number:         5578
>Category:       mod_jserv
>Synopsis:       compile problem; return statement with an expression at end of void function
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jan 13 07:40:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     koktan@nkp.cz
>Release:        1.3.9
>Organization:
apache
>Environment:
digital unix 4.0d
cc: DEC C V5.6-075 on Digital UNIX V4.0 (Rev. 878)
>Description:
cc: Error: jserv_mmap.c, line 364: The function "jserv_setdead" has return type void, and
so may not contain a return statement with an expression.
        return jserv_changestate(cfg, cur, "+", '-');
--------^

line 359 - the same
>How-To-Repeat:
type make	
>Fix:
just delete the word "return"
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message