[glibmm] Fix the build with --enable-warnings=fatal.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Fix the build with --enable-warnings=fatal.
- Date: Sat, 4 Jun 2011 13:12:05 +0000 (UTC)
commit f5ea40615be4c757dd57f93700f466d4c3223560
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Jun 4 15:11:55 2011 +0200
Fix the build with --enable-warnings=fatal.
* tests/glibmm_nodetree/main.cc: Comment out a set-but-not-used
variable.
ChangeLog | 7 +++++++
tests/glibmm_nodetree/main.cc | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index be8f9f9..4937929 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-06-04 Murray Cumming <murrayc murrayc com>
+
+ Fix the build with --enable-warnings=fatal.
+
+ * tests/glibmm_nodetree/main.cc: Comment out a set-but-not-used
+ variable.
+
2011-06-01 José Alburquerque <jaalburqu svn gnome org>
gmmproc: Use NULL for optional properties.
diff --git a/tests/glibmm_nodetree/main.cc b/tests/glibmm_nodetree/main.cc
index f444e87..61fb869 100644
--- a/tests/glibmm_nodetree/main.cc
+++ b/tests/glibmm_nodetree/main.cc
@@ -17,7 +17,7 @@ int main()
type_nodetree_string* root;
type_nodetree_string* node;
type_nodetree_string* node_B;
- type_nodetree_string* node_D;
+ /* type_nodetree_string* node_D; */
type_nodetree_string* node_F;
type_nodetree_string* node_G;
type_nodetree_string* node_J;
@@ -31,7 +31,7 @@ int main()
node_B->append_data("E");
node_B->prepend_data("C");
- node_D = &node_B->insert(1, *(new type_nodetree_string("D")));
+ /* node_D = & */node_B->insert(1, *(new type_nodetree_string("D")));
node_F = new type_nodetree_string("F");
root->append(*node_F);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]