From 6a6ff7352b5674e29ad2b2b4c24cf49c0d378551 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 18 Mar 2004 05:27:10 +0000 Subject: [PATCH] use __builtin_expect git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1289 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/ensc_wrappers/wrappers_handler.hc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.8.1.5