[patch] Warnings, third try

Nirgal <[email protected]> Tue, 30 Aug 2011 20:46:47 +0000
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <[email protected]>
--Boundary-00=_6wUXOwf//CzFXp4
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit

On Tuesday 30 August 2011 20:14:19 Brian Bruns wrote:
> All done.  New process is much smoother.

Somehow, Hunk #7 of previous 01_warnings2.diff did not make it to git, so that now project does not compile.
Attached is the trivial fix.

--Boundary-00=_6wUXOwf//CzFXp4
Content-Type: text/x-patch;
  charset="utf-8";
  name="01_warnings3.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
	filename="01_warnings3.diff"

Author: Jean-Michel Vourgère <[email protected]>
Date: 2010-08-30
Description: Removed old & unused var container
Index: mdbtools-0.6~pre1/src/gmdb2/debug.c
===================================================================
--- mdbtools-0.6~pre1.orig/src/gmdb2/debug.c
+++ mdbtools-0.6~pre1/src/gmdb2/debug.c
@@ -652,7 +652,7 @@
 			row_len = (get_uint16(fbuf+offset+10+(i-1)*2) 
 				& 0x0FFF) - row_start;
 		str = g_strdup_printf("Row %d", i+1);
-		container = gmdb_debug_add_item(store, NULL, str,
+		/*container = */gmdb_debug_add_item(store, NULL, str,
 			row_start, row_len); 
 		
 		/* usage pages have parent id of 0 (database) and do not 

--Boundary-00=_6wUXOwf//CzFXp4
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
--Boundary-00=_6wUXOwf//CzFXp4
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
mdbtools-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mdbtools-dev

--Boundary-00=_6wUXOwf//CzFXp4--