summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-22 01:56:16 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-22 01:56:16 +0000
commit7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399 (patch)
tree3d8cb39cd7417c75861830ae1311503cb3cf8655 /source/include
parentf179e0ff61794073aedcf77544865ad2f18c6e6d (diff)
downloadsamba-7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399.tar.gz
samba-7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399.tar.xz
samba-7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399.zip
the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have no way of telling if the call really failed
Diffstat (limited to 'source/include')
-rw-r--r--source/include/talloc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/include/talloc.h b/source/include/talloc.h
index a4df28c8b0c..89c2f82e056 100644
--- a/source/include/talloc.h
+++ b/source/include/talloc.h
@@ -21,12 +21,6 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifdef DEBUG_TALLOC
-#define BAD_PTR (void*)0xdeadbeef
-#else
-#define BAD_PTR NULL
-#endif
-
struct talloc_chunk {
struct talloc_chunk *next;
size_t size;