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 02:25:47 -0600 (MDT)
  • Message-id: <20061025082547.C1DA225C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=214105


sndirsch@xxxxxxxxxx changed:

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




------- Comment #1 from sndirsch@xxxxxxxxxx 2006-10-25 02:25 MST -------
I don't think so. Isn't the "assert(0);" mentioned for this case?

SurfaceSDL*
SurfaceData::create_SurfaceSDL()
{
switch(type)
{
case LOAD:
return new SurfaceSDL(file, use_alpha);
case LOAD_PART:
return new SurfaceSDL(file, x, y, w, h, use_alpha);
case SURFACE:
return new SurfaceSDL(surface, use_alpha);
}
assert(0);
}


--
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