svn commit: samba r26257 - in branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3: .

gd at samba.org gd at samba.org
Mon Dec 3 17:00:11 GMT 2007


Author: gd
Date: 2007-12-03 17:00:10 +0000 (Mon, 03 Dec 2007)
New Revision: 26257

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26257

Log:
Get rid of "uninitialized value" warning in the samba3 pidl generator.
Jelmer, please check.

Guenther

Modified:
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm


Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm	2007-12-03 16:49:45 UTC (rev 26256)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm	2007-12-03 17:00:10 UTC (rev 26257)
@@ -47,7 +47,7 @@
 		$defargs .= ", " . DeclLong($_);
 	}
 
-	if ($fn->{RETURN_TYPE} eq "WERROR") {
+	if (defined($fn->{RETURN_TYPE}) && ($fn->{RETURN_TYPE} eq "WERROR")) {
 		$defargs .= ", WERROR *werror";
 	}
 



More information about the samba-cvs mailing list