Fixed another uninitialized variable warning in gmx_energy.c
authorErik Lindahl <lindahl@cbr.su.se>
Fri, 27 Aug 2010 16:40:41 +0000 (18:40 +0200)
committerErik Lindahl <lindahl@cbr.su.se>
Fri, 27 Aug 2010 16:40:41 +0000 (18:40 +0200)
src/tools/gmx_energy.c

index 1394198a5115a7db103030ad963ad2ea5c254078..c5d14c271a7182fd9883fdb3486198fa0763b0d6 100644 (file)
@@ -1242,7 +1242,7 @@ static void do_dhdl(t_enxframe *fr, FILE **fp_dhdl, const char *filename,
     char title[STRLEN],label_x[STRLEN],label_y[STRLEN], legend[STRLEN];
     char buf[STRLEN];
     gmx_bool first=FALSE;
-    int nblock_hist=0, nblock_dh=0, nblock_dhcoll;
+    int nblock_hist=0, nblock_dh=0, nblock_dhcoll=0;
     int i,j,k;
     /* coll data */
     double temp=0, start_time=0, delta_time=0, start_lambda=0, delta_lambda=0;