svn commit: samba r17789 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Thu Aug 24 10:51:34 GMT 2006


Author: metze
Date: 2006-08-24 10:51:34 +0000 (Thu, 24 Aug 2006)
New Revision: 17789

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

Log:
remove compiler warnings

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/snprintf.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/snprintf.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/snprintf.c	2006-08-24 10:41:31 UTC (rev 17788)
+++ branches/SAMBA_4_0/source/lib/replace/snprintf.c	2006-08-24 10:51:34 UTC (rev 17789)
@@ -145,6 +145,9 @@
  void dummy_snprintf(void) {} 
 #endif /* HAVE_SNPRINTF, etc */
 
+/* yes this really must be a ||. Don't muck with this (tridge) */
+#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
+
 #ifdef HAVE_LONG_DOUBLE
 #define LDOUBLE long double
 #else
@@ -216,9 +219,6 @@
 #define MAX(p,q) (((p) >= (q)) ? (p) : (q))
 #endif
 
-/* yes this really must be a ||. Don't muck with this (tridge) */
-#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
-
 struct pr_chunk {
 	int type; /* chunk type */
 	int num; /* parameter number */



More information about the samba-cvs mailing list