gnumeric r17291 - in trunk: plugins/paradox plugins/python-loader plugins/xbase src



Author: mortenw
Date: Thu Apr  2 23:08:03 2009
New Revision: 17291
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17291&view=rev

Log:
Even more cleanup.



Modified:
   trunk/plugins/paradox/paradox.c
   trunk/plugins/python-loader/py-gnumeric.c
   trunk/plugins/xbase/boot.c
   trunk/src/ranges.c

Modified: trunk/plugins/paradox/paradox.c
==============================================================================
--- trunk/plugins/paradox/paradox.c	(original)
+++ trunk/plugins/paradox/paradox.c	Thu Apr  2 23:08:03 2009
@@ -51,7 +51,7 @@
 	pxfield_t	*pxf;
 	char	*data;
 	char	  *name;
-	Sheet	  *sheet = NULL;
+	Sheet	  *sheet;
 	GnmCell	  *cell;
 	GnmValue	  *val = NULL;
 	ErrorInfo *open_error = NULL;

Modified: trunk/plugins/python-loader/py-gnumeric.c
==============================================================================
--- trunk/plugins/python-loader/py-gnumeric.c	(original)
+++ trunk/plugins/python-loader/py-gnumeric.c	Thu Apr  2 23:08:03 2009
@@ -1709,7 +1709,7 @@
 static PyObject *
 py_Workbook_sheet_add (py_Workbook_object *self, PyObject *args)
 {
-	Sheet *sheet = NULL;
+	Sheet *sheet;
 	char *name = NULL;
 	int   insert_before = -1;
 

Modified: trunk/plugins/xbase/boot.c
==============================================================================
--- trunk/plugins/xbase/boot.c	(original)
+++ trunk/plugins/xbase/boot.c	Thu Apr  2 23:08:03 2009
@@ -173,7 +173,6 @@
 	wb = wb_view_get_workbook (wb_view);
 
 	for (pass = 1; pass <= 2; pass++) {
-		Sheet *sheet = NULL;
 		unsigned int row = 0;
 
 		if (pass == 2) {

Modified: trunk/src/ranges.c
==============================================================================
--- trunk/src/ranges.c	(original)
+++ trunk/src/ranges.c	Thu Apr  2 23:08:03 2009
@@ -169,7 +169,7 @@
 char const *
 range_as_string (GnmRange const *src)
 {
-	static char buffer[(2 + 4 * sizeof (long)) * 2 + 1];
+	static char buffer[(6 + 4 * sizeof (long)) * 2 + 1];
 
 	g_return_val_if_fail (src != NULL, "");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]