1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

librpc: Fix warning caused by some empty debug strings

It would probably be better to create a new macro such as DEBUGHDR to
allow empty strings for debug statements, but for the short term this
eliminates the warning with no negative consequences.
This commit is contained in:
Tim Prouty 2009-01-19 15:02:25 -08:00
parent 84f2b2d731
commit 53293f2ccb

View File

@ -211,7 +211,7 @@ _PUBLIC_ void ndr_print_debug(ndr_print_fn_t fn, const char *name, void *ptr)
{
struct ndr_print *ndr;
DEBUG(0,(""));
DEBUG(0,(" "));
ndr = talloc_zero(NULL, struct ndr_print);
if (!ndr) return;
@ -229,7 +229,7 @@ _PUBLIC_ void ndr_print_union_debug(ndr_print_fn_t fn, const char *name, uint32_
{
struct ndr_print *ndr;
DEBUG(0,(""));
DEBUG(0,(" "));
ndr = talloc_zero(NULL, struct ndr_print);
if (!ndr) return;
@ -248,7 +248,7 @@ _PUBLIC_ void ndr_print_function_debug(ndr_print_function_t fn, const char *name
{
struct ndr_print *ndr;
DEBUG(0,(""));
DEBUG(0,(" "));
ndr = talloc_zero(NULL, struct ndr_print);
if (!ndr) return;