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
readability-implicit-bool-conversion 1/2
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
topio.cpp
diff --git
a/src/gromacs/gmxpreprocess/topio.cpp
b/src/gromacs/gmxpreprocess/topio.cpp
index cd918f3d7436169cfb9ebdd6a8cf575c75936c46..d1201e4b5476808a763e892c2d8f14b8eaa7ec85 100644
(file)
--- a/
src/gromacs/gmxpreprocess/topio.cpp
+++ b/
src/gromacs/gmxpreprocess/topio.cpp
@@
-449,7
+449,8
@@
static char **read_topol(const char *infile, const char *outfile,
int lastcg = -1;
int dcatt = -1, nmol_couple;
/* File handling variables */
- int status, done;
+ int status;
+ bool done;
gmx_cpp_t handle;
char *tmp_line = nullptr;
char warn_buf[STRLEN];