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
/
utility
/
smalloc.c
diff --git
a/src/gromacs/utility/smalloc.c
b/src/gromacs/utility/smalloc.c
index 54145246890fe1092ddc90470bf543796cdb54e5..8e08a341072d9d848d2d44848eca7eed504f616e 100644
(file)
--- a/
src/gromacs/utility/smalloc.c
+++ b/
src/gromacs/utility/smalloc.c
@@
-290,7
+290,6
@@
void *save_malloc_aligned(const char *name, const char *file, int line,
}
#endif
- allocate_fail = FALSE; /* stop compiler warnings */
#ifdef HAVE_POSIX_MEMALIGN
allocate_fail = (0 != posix_memalign(&malloced, alignment, nelem*elsize));
#elif defined HAVE_MEMALIGN