biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f13fb1
)
fixed warnings caused by some uninitialized variables
author
Szilard Pall
<pszilard@cbr.su.se>
Tue, 7 Sep 2010 08:31:48 +0000
(10:31 +0200)
committer
Szilard Pall
<pszilard@cbr.su.se>
Tue, 7 Sep 2010 08:31:48 +0000
(10:31 +0200)
src/tools/gmx_hbond.c
patch
|
blob
|
history
diff --git
a/src/tools/gmx_hbond.c
b/src/tools/gmx_hbond.c
index a347b58fdd490bfb0fe50aa71856cae04b2ab26e..d4769e5d73f9ef1a1c0ed944fe0edbd145445329 100644
(file)
--- a/
src/tools/gmx_hbond.c
+++ b/
src/tools/gmx_hbond.c
@@
-3232,9
+3232,9
@@
int gmx_hbond(int argc,char *argv[])
atom_id **index;
rvec *x,hbox;
matrix box;
- real t,ccut,dist
,ang
;
+ real t,ccut,dist
=0.0,ang=0.0
;
double max_nhb,aver_nhb,aver_dist;
- int h,i,j,k=0,l,start,end,id,ja,ogrp,nsel;
+ int h
=0
,i,j,k=0,l,start,end,id,ja,ogrp,nsel;
int xi,yi,zi,ai;
int xj,yj,zj,aj,xjj,yjj,zjj;
int xk,yk,zk,ak,xkk,ykk,zkk;