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
/
gmxana
/
edittop.c
diff --git
a/src/gromacs/gmxana/edittop.c
b/src/gromacs/gmxana/edittop.c
index 50dd7731c7308d9f2eb2c4395dbdab8212479811..9295f8c70ea4065e56b9327bc44ce79c5b0de262 100644
(file)
--- a/
src/gromacs/gmxana/edittop.c
+++ b/
src/gromacs/gmxana/edittop.c
@@
-111,6
+111,7
@@
static void delete_from_interactions(t_idef *idef, int inr)
idef->il[i].iatoms[j] = niatoms[j];
}
idef->il[i].nr = nnr;
+ /* cppcheck-suppress uninitvar Fixed in cppcheck 1.65 */
sfree(niatoms);
}
}