OSDN Git Service

2010-06-09 Kai Tietz <kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Jun 2010 11:34:18 +0000 (11:34 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Jun 2010 11:34:18 +0000 (11:34 +0000)
        * c-objc-common.c (c_tree_printer): Pre-intialize t by NULL_TREE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160463 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-objc-common.c

index a66edd0..cb5ec8c 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-09  Kai Tietz  <kai.tietz@onevision.com>
+
+       * c-objc-common.c (c_tree_printer): Pre-intialize t by NULL_TREE.
+
 2010-06-09  Martin Jambor  <mjambor@suse.cz>
 
        PR tree-optimization/44423
index 0bb252f..d1cac99 100644 (file)
@@ -89,7 +89,7 @@ static bool
 c_tree_printer (pretty_printer *pp, text_info *text, const char *spec,
                int precision, bool wide, bool set_locus, bool hash)
 {
-  tree t;
+  tree t = NULL_TREE;
   tree name;
   c_pretty_printer *cpp = (c_pretty_printer *) pp;
   pp->padding = pp_none;