[libgda] Avoid using uninitialized variable
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Avoid using uninitialized variable
- Date: Wed, 7 Jul 2010 15:47:49 +0000 (UTC)
commit 6024878ca482b93160bb645b92fc795ceec364eb
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed Jul 7 16:18:56 2010 +0200
Avoid using uninitialized variable
libgda/gda-meta-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index 8f92d9a..b24d471 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -1748,7 +1748,7 @@ make_expr_EQUAL (GdaSqlAnyPart *parent, xmlChar *cname, xmlChar *type, GType pty
retexpr = gda_sql_expr_new (parent);
- op = gda_sql_operation_new (GDA_SQL_ANY_PART (expr));
+ op = gda_sql_operation_new (GDA_SQL_ANY_PART (retexpr));
op->operator_type = GDA_SQL_OPERATOR_TYPE_EQ;
retexpr->cond = op;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]