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
Clang-tidy: enable further tests
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdlib
/
lincs.cpp
diff --git
a/src/gromacs/mdlib/lincs.cpp
b/src/gromacs/mdlib/lincs.cpp
index 5772b2514009dc091724190e433e6c36145c7982..7fcd40c418fbc26873335a809f26f6ed8b2e2598 100644
(file)
--- a/
src/gromacs/mdlib/lincs.cpp
+++ b/
src/gromacs/mdlib/lincs.cpp
@@
-1608,10
+1608,7
@@
Lincs *init_lincs(FILE *fplog, const gmx_mtop_t &mtop,
void done_lincs(Lincs *li)
{
- if (li)
- {
- delete li;
- }
+ delete li;
}
/*! \brief Sets up the work division over the threads. */