CVS User Account cvsuser
Fri May 27 20:32:54 PDT 2005
Log Message:
-----------
Change final elements in each array-of-structs to use {0}.

This is the standard ANSI C way to initialize this.

Result of compiling with "-Wall" to look for all sorts of problems...

Modified Files:
--------------
    slony1-engine/src/slon:
        confoptions.h (r1.21 -> r1.22)

-------------- next part --------------
Index: confoptions.h
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/confoptions.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -Lsrc/slon/confoptions.h -Lsrc/slon/confoptions.h -u -w -r1.21 -r1.22
--- src/slon/confoptions.h
+++ src/slon/confoptions.h
@@ -188,7 +188,7 @@
 		2
 	},
 #endif
-	NULL
+    {0}
 };
 
 static struct config_bool ConfigureNamesBool[] =
@@ -214,7 +214,7 @@
 		true
 	},
 
-	NULL
+    {0}
 };
 
 static struct config_real ConfigureNamesReal[] =
@@ -231,7 +231,7 @@
 		0.0,					/* min_value */
 		1.0						/* max value */
 	},
-	NULL
+    {0}
 };
 
 static struct config_string ConfigureNamesString[] =
@@ -325,7 +325,7 @@
 		"slon"
 	},
 #endif
-	NULL
+    {0}
 };
 #endif
 /*


More information about the Slony1-commit mailing list