Patched to compile on newer GCCs.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 27 Feb 2015 21:06:11 -0800
changeset 110 28288e5c8745
parent 109 5b6da1d6be5a
child 111 5e7e594b70fa
Patched to compile on newer GCCs.
utils/fatelf-utils.c
--- a/utils/fatelf-utils.c	Sun Dec 28 01:51:09 2014 -0500
+++ b/utils/fatelf-utils.c	Fri Feb 27 21:06:11 2015 -0800
@@ -667,6 +667,8 @@
     int retval = -1;
     int i = 0;
 
+    memset(&rec, '\0', sizeof (rec));
+
     while (1)
     {
         const char ch = *ptr;