Hello list,
another package, another no-return-in-nonvoid-function... ;-)
I have tried anything that came to my mind, but my C++ is really poor. I hope, someone can help me.
Package: kopete-otr in KDE:Community https://build.opensuse.org/package/show?package=kopete- otr&project=KDE:Community
Buildlog: https://build.opensuse.org/package/live_build_log?arch=i586&package=kope... otr&project=KDE:Community&repository=openSUSE_11.1
Lines in the source code:
static const char *protocol_name(void *opdata, const char *protocol){ //Never seen... kdDebug() << "protocol_name called" << endl; }
Best greetings Buschmann
---------------------------------------------------------------------------------- openSUSE Member - de.opensuse.org Sys-Op http://en.opensuse.org/User:Buschmann23 http://en.opensuse.org/How_to_Participate http://en.opensuse.org/Geeko_wants_you!
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
On Sunday 22 March 2009 16:40:42 Marcus Hüwe wrote:
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
Thank you, now it works. :)
Buschmann
---------------------------------------------------------------------------------- openSUSE Member - de.opensuse.org Sys-Op http://en.opensuse.org/User:Buschmann23 http://en.opensuse.org/How_to_Participate http://en.opensuse.org/Geeko_wants_you!