https://bugzilla.novell.com/show_bug.cgi?id=214105 dcb314@hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314@hotmail.com Status|RESOLVED |REOPENED Resolution|INVALID | ------- Comment #4 from dcb314@hotmail.com 2006-10-25 05:01 MST ------- (In reply to comment #3)
assert already does this job.
I think we all know what assert does. I tried to suggest that there are better ways of dealing with the problem than crashing.
Adding return afterwards is a cosmetic change.
As I tried to indicate above, no it isn't. Putting return statements at the end of non-void functions [ even in code that isn't supposed to be executed in normal operation] is a good thing to do. I strongly recommend re-reading what I wrote. -- 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.