Mailinglist Archive: opensuse-buildservice (233 mails)

< Previous Next >
[opensuse-buildservice] no-return-in-nonvoid-function not always true
  • From: Werner Hoch <werner.ho@xxxxxx>
  • Date: Thu, 18 Dec 2008 08:25:22 +0100
  • Message-id: <200812180825.22897.werner.ho@xxxxxx>
Hi there,

the error message of rpmlint no-return-in-nonvoid-function sometimes
detects code snippets that looks ok to me.

The code snippets moslty looks like this:
int func(int i)
switch(i) {
case 1: return 4;
case 2: return 5;
/* no return after switch statement */

Example build logs:

Any chances to ignore those errors?

In the thread
in the message
Bernhard Walle suggest to make that errors ignorable.

What's the "right" solution to resolve those rpmlint errors?
* fixing all that errors?
* upstream reporting?

Werner (werner2101)
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >