Fixed uninitialized variable warning.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Thu, 23 Sep 2010 00:24:08 +0000 (20:24 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Thu, 23 Sep 2010 00:24:08 +0000 (20:24 -0400)
src/aop-pointcut.c

index 7d61d69c7c2bebe8d080d55751293cf4661a19a2..cafd75276e0f4183641b7b7c52abcdfb15853137 100644 (file)
@@ -86,7 +86,7 @@ static tree
 op_get_in_param (struct aop_dynval *dv)
 {
   gimple stmt;
-  tree param;
+  tree param = NULL;
   tree param_iter;
   struct aop_joinpoint *jp = dv->jp;
   int index = 0;
@@ -107,6 +107,8 @@ op_get_in_param (struct aop_dynval *dv)
        }
       index++;       
     }  
+
+  aop_assert (param != NULL);
   return param;
 }