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.67 warnings
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
toppush.c
diff --git
a/src/gromacs/gmxpreprocess/toppush.c
b/src/gromacs/gmxpreprocess/toppush.c
index 8272b7787ecf3f2dad111040e9d2ca76dca6b884..832a2a12037fdd70864944b4f56605199393e290 100644
(file)
--- a/
src/gromacs/gmxpreprocess/toppush.c
+++ b/
src/gromacs/gmxpreprocess/toppush.c
@@
-485,6
+485,7
@@
void push_at (t_symtab *symtab, gpp_atomtype_t at, t_bond_atomtype bat,
gmx_fatal(FARGS, "Invalid particle type %s on line %s",
ptype, line);
}
+ /* cppcheck-suppress arrayIndexOutOfBounds #6329 */
pt = xl[j].ptype;
if (debug)
{