]> git.notmuchmail.org Git - notmuch/commit
date.c: Remove all occurrences of g_return_val_if_fail
authorCarl Worth <cworth@cworth.org>
Mon, 19 Oct 2009 20:09:19 +0000 (13:09 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 19 Oct 2009 20:09:19 +0000 (13:09 -0700)
commitdbadca9a63ce9e97dc2d80fb0fee7ba2f8640316
treee35734ce30bc04aba8dc6e75218314c8f9ae8fa5
parent9f3649370cefe3d4a28b0df7cb3fea32ded9251a
date.c: Remove all occurrences of g_return_val_if_fail

That's got to be one of the hardest macro names to read, ever,
(it's phrased with an implicit negative in the condition,
rather than something simple like "assert").

Plus, it's evil, since it's a macro with a return in it.

And finally, it's actually *longer* than just typing "if"
and "return". So what's the point of this ugly idiom?
date.c