Commit c4c17f87 authored by Vladimír Čunát's avatar Vladimír Čunát

lib/utils kr_log_trace_enabled(): optimize for false

parent f97975b3
......@@ -59,7 +59,9 @@ void kr_log_verbose(const char *fmt, ...);
* @brief Return true if the query has request log handler installed.
#define kr_log_trace_enabled(query) ((query) && (query)->request && (query)->request->trace_log)
#define kr_log_trace_enabled(query) (__builtin_expect( \
(query) && (query)->request && (query)->request->trace_log, \
* Log a message through the request log handler.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment