]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Silence a compiler warning as issued by certain versions of GCC.
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 3 Jul 2014 08:23:23 +0000 (08:23 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 3 Jul 2014 08:23:23 +0000 (08:23 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14126

coregrind/m_demangle/cp-demangle.c

index 44d1089a8d85d98024f336d6379db463ba81c25b..3489e75415866b64ec64368de05e79baaa7b7a76 100644 (file)
@@ -4313,7 +4313,7 @@ d_print_comp_inner (struct d_print_info *dpi, int options,
 
   /* Variable used to store the current templates while a previously
      captured scope is used.  */
-  struct d_print_template *saved_templates;
+  struct d_print_template *saved_templates = NULL; /* silence GCC */
 
   /* Nonzero if templates have been stored in the above variable.  */
   int need_template_restore = 0;