Mailinglist Archive: opensuse-packaging (174 mails)

< Previous Next >
Re: [opensuse-packaging] build-check: no-return-in-nonvoid-function
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Sun, 22 Mar 2009 16:40:42 +0100
  • Message-id: <20090322154041.GA3499@xxxxxxxxxxxxxxxxxxx>
On 2009-03-22 16:08:12 +0100, Matthias Fehring wrote:
<SNIP>
Lines in the source code:

static const char *protocol_name(void *opdata, const char *protocol){
//Never seen...
kdDebug() << "protocol_name called" << endl;
}

Adding "return NULL;" to the end of the function block should fix the
problem.


Marcus
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References