[gnumeric] Don't duplicate a variable in gnm_go_data_vector_load_len
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Don't duplicate a variable in gnm_go_data_vector_load_len
- Date: Tue, 13 Jul 2010 20:34:00 +0000 (UTC)
commit a8c5d3e3f9a69d72f7a90f6df654dcaa397afd31
Author: Jean Brefort <jean brefort normalesup org>
Date: Tue Jul 13 22:33:56 2010 +0200
Don't duplicate a variable in gnm_go_data_vector_load_len
src/graph.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/graph.c b/src/graph.c
index 78c3034..df639a0 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -484,7 +484,6 @@ gnm_go_data_vector_load_len (GODataVector *dat)
if (vec->val == NULL && vec->dep.texpr != NULL) {
GSList *l;
if (gnm_expr_is_rangeref (vec->dep.texpr->expr) && ((l = gnm_expr_top_get_ranges (vec->dep.texpr)))) {
- GSList *l = gnm_expr_top_get_ranges (vec->dep.texpr);
unsigned len = g_slist_length (l);
if (l->next == NULL) /* only one range */
vec->val = (GnmValue *) l->data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]