1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib/tdr: get rid of build warning when using TDR_ALLOC macro.

Guenther
This commit is contained in:
Günther Deschner 2009-10-02 01:25:13 +02:00
parent 926457ec95
commit ab8a16c77f

View File

@ -55,7 +55,7 @@ struct tdr_print {
} while (0)
#define TDR_ALLOC(ctx, s, n) do { \
(s) = talloc_array_size(ctx, sizeof(*(s)), n); \
(s) = talloc_array_ptrtype(ctx, (s), n); \
if ((n) && !(s)) return NT_STATUS_NO_MEMORY; \
} while (0)