biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix cppcheck 1.64 warnings
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
tomorse.c
diff --git
a/src/gromacs/gmxpreprocess/tomorse.c
b/src/gromacs/gmxpreprocess/tomorse.c
index abab6f87fe1d290ce3092308ca5ed4247292e458..8620bf62ab129d4e00225f2ed58f09b1cd17f9f0 100644
(file)
--- a/
src/gromacs/gmxpreprocess/tomorse.c
+++ b/
src/gromacs/gmxpreprocess/tomorse.c
@@
-282,6
+282,7
@@
void convert_harmonics(int nrmols, t_molinfo mols[], gpp_atomtype_t atype)
last++;
}
}
+ /* cppcheck-suppress uninitvar Fixed in cppcheck 1.65 */
sfree(bRemoveHarm);
fprintf(stderr, "Converted %d out of %d %s to morse bonds for mol %d\n",
nrharm-last, nrharm, interaction_function[bb].name, i);