Hi,

I noticed only today that the code I touched a few days ago can trigger a spurious -Wuninitialized warning, which I'm going to avoid with the below.

Thanks,
Paolo.

////////////////////
2014-06-02  Paolo Carlini  <paolo.carl...@oracle.com>

        * pt.c (tsubst_function_type): Initialize arg_types.
Index: pt.c
===================================================================
--- pt.c        (revision 211157)
+++ pt.c        (working copy)
@@ -11320,7 +11320,7 @@ tsubst_function_type (tree t,
                      tree in_decl)
 {
   tree return_type;
-  tree arg_types;
+  tree arg_types = NULL_TREE;
   tree fntype;
 
   /* The TYPE_CONTEXT is not used for function/method types.  */

Reply via email to