[gstreamer-bugs] [Bug 611692] Add more warning flags

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 8 07:44:08 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=611692
  GStreamer | gstreamer (core) | git

--- Comment #34 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-03-08 15:44:06 UTC ---
(In reply to comment #27)
> (From update of attachment 155124 [details])
> I happen to like -Wswitch-default, but I don't think an assertion failure is
> the appropriate response.  It should be g_return_if_fail() or similar.

If its not caused by external inputs we should not use
g_return_{val_,}if_fail().

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list