[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.2-20090328-78-g502e052)
The branch, master has been updated
via 502e052f59ed28d8e6b4388be3d58097716839c1 (commit)
from 843b7689b528eeef7f9ed72d505e91aeb5ce01fc (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/o_attrib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit 502e052f59ed28d8e6b4388be3d58097716839c1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
libgeda: Initialise counter in o_attrib_search_slotdef()
Caught by Dan McMahill - thanks!
I'm not sure why gcc -O2 -Wall didn't catch this.
:100644 100644 f0cf090... 5bc6a90... M libgeda/src/o_attrib.c
=========
Changes
=========
commit 502e052f59ed28d8e6b4388be3d58097716839c1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
libgeda: Initialise counter in o_attrib_search_slotdef()
Caught by Dan McMahill - thanks!
I'm not sure why gcc -O2 -Wall didn't catch this.
diff --git a/libgeda/src/o_attrib.c b/libgeda/src/o_attrib.c
index f0cf090..5bc6a90 100644
--- a/libgeda/src/o_attrib.c
+++ b/libgeda/src/o_attrib.c
@@ -687,7 +687,7 @@ char *o_attrib_search_slot(OBJECT *object, OBJECT **return_found)
*/
static char *o_attrib_search_slotdef (OBJECT *object, int slotnumber)
{
- int counter;
+ int counter = 0;
char *slotdef;
char *search_for;
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs