Fix GCC 4.8 warnings
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / calc_verletbuf.c
index 0dd3d502c7d06ab88c3da2acb9906ed161cdccd1..0a668def8ce0003950ad91580b73a39f87c7a05d 100644 (file)
@@ -210,7 +210,7 @@ static void get_vsite_masses(const gmx_moltype_t  *moltype,
             for (i = 0; i < il->nr; i += 1+NRAL(ft))
             {
                 const t_iparams *ip;
-                real             cam[5], inv_mass, m_aj;
+                real             cam[5] = {0}, inv_mass, m_aj;
                 int              a1, j, aj, coeff;
 
                 ip = &ffparams->iparams[il->iatoms[i]];