From: Enrico Scholz Date: Thu, 18 Mar 2004 05:27:10 +0000 (+0000) Subject: use __builtin_expect X-Git-Tag: VERSION_0_10~285 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a6ff7352b5674e29ad2b2b4c24cf49c0d378551;p=util-vserver.git use __builtin_expect git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1289 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/ensc_wrappers/wrappers_handler.hc b/util-vserver/ensc_wrappers/wrappers_handler.hc index e7370b4..b89baf7 100644 --- a/util-vserver/ensc_wrappers/wrappers_handler.hc +++ b/util-vserver/ensc_wrappers/wrappers_handler.hc @@ -44,6 +44,6 @@ FatalErrnoErrorFail(char const msg[]) static UNUSED void FatalErrnoError(bool condition, char const msg[]) /*@*/ { - if (!condition) return; + if (__builtin_expect(!condition,true)) return; FatalErrnoErrorFail(msg); }