r683: Remove the trailing ; from this macro, so it can be used in an 'if' expression.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 13 May 2004 15:27:08 +0000 (15:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:53:42 +0000 (12:53 -0500)
(This used to be commit 3813517a8b561e7210ffc32ce861683b057d18eb)

source4/include/talloc.h

index 204dd406b9f50a23624b699d057d84875edaad28..8c1a72677874d8d75bbe0d1977eddf4d69ad2c46 100644 (file)
@@ -47,7 +47,7 @@ char *talloc_asprintf_append(TALLOC_CTX *t, char *, const char *, ...)
        PRINTF_ATTRIBUTE(3, 4);
 
 /* useful macros for creating type checked pointers */
-#define talloc_p(ctx, type) (type *)talloc(ctx, sizeof(type));
+#define talloc_p(ctx, type) (type *)talloc(ctx, sizeof(type))
 #define talloc_array_p(ctx, type, count) (type *)talloc_realloc_array(ctx, NULL, sizeof(type), count)
 #define talloc_realloc_p(ctx, p, type, count) (type *)talloc_realloc_array(ctx, p, sizeof(type), count)