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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-190-gb74ce15)



The branch, master has been updated
       via  b74ce15668b87380fb348a94aab6452eba6f5551 (commit)
      from  853f1ef289fb7ebd7406ede1e48940a07772a756 (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
=========

 gschem/src/o_basic.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)


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

commit b74ce15668b87380fb348a94aab6452eba6f5551
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Sep 27 22:58:09 2008 +0100

    Use g_return_if_fail to exit o_drawbounding() if called with a NULL list.
    
    Function previously returned silently, lets log this as an error
    condition if it should happen.

:100644 100644 fd83859... d44b993... M	gschem/src/o_basic.c

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

commit b74ce15668b87380fb348a94aab6452eba6f5551
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Sep 27 22:58:09 2008 +0100

    Use g_return_if_fail to exit o_drawbounding() if called with a NULL list.
    
    Function previously returned silently, lets log this as an error
    condition if it should happen.

diff --git a/gschem/src/o_basic.c b/gschem/src/o_basic.c
index fd83859..d44b993 100644
--- a/gschem/src/o_basic.c
+++ b/gschem/src/o_basic.c
@@ -324,9 +324,7 @@ void o_drawbounding(GSCHEM_TOPLEVEL *w_current, GList *o_glist,
   int left, top, bottom, right;
   int s_left, s_top, s_bottom, s_right;
 
-  if (o_glist == NULL) {
-    return;
-  }
+  g_return_if_fail (o_glist != NULL);
 
   /* If drawing is true, then don't worry about the previous drawing
    * method and movement constraints, use with the current settings */




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