diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-04-22 07:45:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:33 -0500 |
commit | 1793845e08dafa2566d8713cbf21adcda1641f0f (patch) | |
tree | 375d289e8f7153be01bb85083903fc09a9b87280 /source4/librpc | |
parent | 1325dea8ec34bb77780f5cb9a0437ee17631b575 (diff) | |
download | samba-1793845e08dafa2566d8713cbf21adcda1641f0f.tar.gz samba-1793845e08dafa2566d8713cbf21adcda1641f0f.tar.bz2 samba-1793845e08dafa2566d8713cbf21adcda1641f0f.zip |
r327: fixed an uninitialised variable found by valgrind
(This used to be commit 10844cf925d6a8164191a6dbbcaacc7bf8179933)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/ndr/ndr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr.c b/source4/librpc/ndr/ndr.c index b44bf11c15..205607e0cd 100644 --- a/source4/librpc/ndr/ndr.c +++ b/source4/librpc/ndr/ndr.c @@ -351,6 +351,7 @@ void ndr_print_function_debug(void (*fn)(struct ndr_print *, const char *, int , if (!ndr.mem_ctx) return; ndr.print = ndr_print_debug_helper; ndr.depth = 1; + ndr.flags = 0; fn(&ndr, name, flags, ptr); talloc_destroy(ndr.mem_ctx); } |