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
Enable more warnings for Clang 6
[alexxy/gromacs.git]
/
src
/
gromacs
/
fileio
/
checkpoint.cpp
diff --git
a/src/gromacs/fileio/checkpoint.cpp
b/src/gromacs/fileio/checkpoint.cpp
index 8bf2c5e8dd6f9514afe0521cc16055b424e3a8ff..22eb8fc9835998983ccb964c04148df6d9268d17 100644
(file)
--- a/
src/gromacs/fileio/checkpoint.cpp
+++ b/
src/gromacs/fileio/checkpoint.cpp
@@
-226,7
+226,7
@@
static void cp_warning(FILE *fp)
fprintf(fp, "\nWARNING: Checkpoint file is corrupted or truncated\n\n");
}
-static void cp_error()
+
[[ noreturn ]]
static void cp_error()
{
gmx_fatal(FARGS, "Checkpoint file corrupted/truncated, or maybe you are out of disk space?");
}