Mailinglist Archive: opensuse-bugs (8956 mails)

< Previous Next >
[Bug 214105] supertux-0.1.3-28: mising return statement
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 25 Oct 2006 04:43:13 -0600 (MDT)
  • Message-id: <20061025104313.B0889EBC@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=214105


dcb314@xxxxxxxxxxx changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|dcb314@xxxxxxxxxxx |




------- Comment #2 from dcb314@xxxxxxxxxxx 2006-10-25 04:43 MST -------

>Isn't the "assert(0);" mentioned for this case?

Yes it is. However, I wanted to add some belt'n'braces
code to shut up the compiler.

Warning 1011 is usually an indicator of trouble.
In this case it isn't. I just wanted to add extra
code to make the warning go away so it didn't keep
getting flagged up as a potential problem.

Also, it wouldn't hurt the code to do something
more sensible than crash when the type is not one
of the expected values.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References