diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-07-16 21:50:43 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-07-16 21:50:43 +0000 |
commit | b29452f4025bea4987d148134f80fecf897d1884 (patch) | |
tree | 9477bb5cf024eb52d15414f4ccacda8d23234ba4 | |
parent | 5d89a3629cb0fd0ca6764ba9a6d6e3d1ff61c70b (diff) | |
download | openvpn-b29452f4025bea4987d148134f80fecf897d1884.tar.gz openvpn-b29452f4025bea4987d148134f80fecf897d1884.tar.xz openvpn-b29452f4025bea4987d148134f80fecf897d1884.zip |
Used unlikely() macro to tell compiler that msg() will
usually be silent.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3060 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r-- | error.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ extern int x_msg_line_num; bool dont_mute (unsigned int flags); /* check muting filter */ -#define MSG_TEST(flags) (((((unsigned int)flags) & M_DEBUG_LEVEL) <= x_debug_level) && dont_mute (flags)) +#define MSG_TEST(flags) (unlikely((((unsigned int)flags) & M_DEBUG_LEVEL) <= x_debug_level) && dont_mute (flags)) #if defined(HAVE_CPP_VARARG_MACRO_ISO) && !defined(__LCLINT__) # define HAVE_VARARG_MACROS |