[gnumeric] gnm_expr_as_string: Fix debug code.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnumeric] gnm_expr_as_string: Fix debug code.
- Date: Wed, 29 Apr 2009 10:39:44 -0400 (EDT)
commit 4c430a1d90a420bf665828442f8615dddd4eb0ef
Author: Morten Welinder <terra gnome org>
Date: Wed Apr 29 10:23:34 2009 -0400
gnm_expr_as_string: Fix debug code.
---
ChangeLog | 3 +++
src/expr.c | 1 -
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8b9a178..fd371cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2009-04-29 Morten Welinder <terra gnome org>
+ * src/expr.c (gnm_expr_as_string): Don't check pp for NULL since
+ we have a debug default.
+
* src/application.c (gnm_app_workbook_get_by_index): Simplify and
make zero-based.
diff --git a/src/expr.c b/src/expr.c
index e7b3bd4..2a4f058 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -1727,7 +1727,6 @@ gnm_expr_as_string (GnmExpr const *expr, GnmParsePos const *pp,
GnmParsePos pp0;
g_return_val_if_fail (expr != NULL, NULL);
- g_return_val_if_fail (pp != NULL, NULL);
/*
* Defaults for debugging only!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]