[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-88-gfc0d1ec)
The branch, master has been updated
via fc0d1ec31bc40dce2a511efae25530c32533fb2e (commit)
from 351bdfd3b45c8283c5dd9b9e903edf648fa5df00 (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_text_basic.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
=================
Commit Messages
=================
commit fc0d1ec31bc40dce2a511efae25530c32533fb2e
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
libgeda: Remove unused variables from o_text_{new,recreate}()
These were left-over from factoring out update_disp_string().
:100644 100644 b1f6498... 709db67... M libgeda/src/o_text_basic.c
=========
Changes
=========
commit fc0d1ec31bc40dce2a511efae25530c32533fb2e
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
libgeda: Remove unused variables from o_text_{new,recreate}()
These were left-over from factoring out update_disp_string().
diff --git a/libgeda/src/o_text_basic.c b/libgeda/src/o_text_basic.c
index b1f6498..709db67 100644
--- a/libgeda/src/o_text_basic.c
+++ b/libgeda/src/o_text_basic.c
@@ -249,8 +249,6 @@ OBJECT *o_text_new(TOPLEVEL *toplevel,
{
OBJECT *new_node=NULL;
TEXT *text;
- char *name = NULL;
- char *value = NULL;
if (string == NULL) {
return(NULL);
@@ -283,8 +281,6 @@ OBJECT *o_text_new(TOPLEVEL *toplevel,
/* Update bounding box */
new_node->w_bounds_valid = FALSE;
- g_free(name);
- g_free(value);
return new_node;
}
@@ -503,15 +499,8 @@ char *o_text_save(OBJECT *object)
*/
void o_text_recreate(TOPLEVEL *toplevel, OBJECT *o_current)
{
- char *name = NULL;
- char *value = NULL;
-
update_disp_string (o_current);
-
o_current->w_bounds_valid = FALSE;
-
- g_free(name);
- g_free(value);
}
/*! \brief move a text object
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs