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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-165-g6b78047)



The branch, master has been updated
       via  6b78047686ad919b90b8119250acde3f50bd3dc8 (commit)
      from  78224abe91c881df499244aff2691432f0e61b55 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 libgeda/src/a_basic.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 6b78047686ad919b90b8119250acde3f50bd3dc8
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Thu Sep 11 21:33:09 2008 +0100

    libgeda: Remove assertion buffer != NULL in o_read().
    
    buffer should never _be_ NULL since we catch errors from
    g_file_get_contents(), but if somehow it was, the error is
    caught more gracefully in o_read_buffer().

:100644 100644 0f2dfb4... a923098... M	libgeda/src/a_basic.c

=========
 Changes
=========

commit 6b78047686ad919b90b8119250acde3f50bd3dc8
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Thu Sep 11 21:33:09 2008 +0100

    libgeda: Remove assertion buffer != NULL in o_read().
    
    buffer should never _be_ NULL since we catch errors from
    g_file_get_contents(), but if somehow it was, the error is
    caught more gracefully in o_read_buffer().

diff --git a/libgeda/src/a_basic.c b/libgeda/src/a_basic.c
index 0f2dfb4..a923098 100644
--- a/libgeda/src/a_basic.c
+++ b/libgeda/src/a_basic.c
@@ -518,7 +518,6 @@ OBJECT *o_read(TOPLEVEL *toplevel, OBJECT *object_list, char *filename,
   } 
 
   /* Parse file contents */
-  g_assert (buffer != NULL);
   result = o_read_buffer (toplevel, object_list, buffer, size, filename);
   g_free (buffer);
   return result;




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs