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
/
mdlib
/
mdebin.c
diff --git
a/src/gromacs/mdlib/mdebin.c
b/src/gromacs/mdlib/mdebin.c
index a8e4a0fb6cabfc27cc915856f5a40a6e48bf2036..f7cd4a32569480ba437d50192932c365ff6ebb57 100644
(file)
--- a/
src/gromacs/mdlib/mdebin.c
+++ b/
src/gromacs/mdlib/mdebin.c
@@
-734,7
+734,7
@@
static void print_lambda_vector(t_lambda *fep, int i,
if (Nsep > 1)
{
/* and add the closing parenthesis */
- s
tr += s
printf(str, ")");
+ sprintf(str, ")");
}
}