[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-15-g53293f2

Tim Prouty tprouty at samba.org
Wed Jan 21 01:40:11 GMT 2009


The branch, master has been updated
       via  53293f2ccba357eab6c4325a08517660e979c1d8 (commit)
      from  84f2b2d731fb7d97c98414196bf96ee94ea88bb3 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 53293f2ccba357eab6c4325a08517660e979c1d8
Author: Tim Prouty <tprouty at samba.org>
Date:   Mon Jan 19 15:02:25 2009 -0800

    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.

-----------------------------------------------------------------------

Summary of changes:
 librpc/ndr/ndr.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c
index 9f7aab3..22b9fcc 100644
--- a/librpc/ndr/ndr.c
+++ b/librpc/ndr/ndr.c
@@ -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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list