git.samba.org
/
metze
/
samba
/
wb-ndr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d89b8fe
)
Fix bug 5400
author
Volker Lendecke
<vl@samba.org>
Sat, 19 Apr 2008 14:56:44 +0000
(16:56 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sun, 14 Sep 2008 16:47:15 +0000
(18:47 +0200)
Thanks to Jason Mader!
Volker
(cherry picked from commit
87d8a63ce4e6dd91ea3193d0a2574520a5857be2
)
source/lib/talloc/talloc.c
patch
|
blob
|
history
diff --git
a/source/lib/talloc/talloc.c
b/source/lib/talloc/talloc.c
index 12b85f5a653644edcd9dda85fcf34a7d34ef6dc2..baf88fe75407095b085ed49a62ac9867f78777c3 100644
(file)
--- a/
source/lib/talloc/talloc.c
+++ b/
source/lib/talloc/talloc.c
@@
-85,8
+85,8
@@
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
#else
-#define likely(x)
x
-#define unlikely(x)
x
+#define likely(x)
(x)
+#define unlikely(x)
(x)
#endif
/* this null_context is only used if talloc_enable_leak_report() or