Merge branch 'release-4-5-patches' into release-4-6
[alexxy/gromacs.git] / src / kernel / pdb2top.c
index 535c2e53f93e42820949a264e3b162ce10c0510c..5169ffefd17a4132e27586e41081d4276809dfc2 100644 (file)
@@ -1357,7 +1357,7 @@ static void gen_cmap(t_params *psb, t_restp *restp, t_atoms *atoms, gmx_residuet
     int nres = atoms->nres;
     gmx_bool bAddCMAP;
     atom_id cmap_atomid[NUM_CMAP_ATOMS];
-    int cmap_chainnum, this_residue_index;
+    int cmap_chainnum=-1, this_residue_index;
 
        if (debug)
                ptr = "cmap";