Resolving a couple of clang analyzer warnings
authorRoland Schulz <roland@utk.edu>
Sun, 11 Mar 2012 11:18:19 +0000 (07:18 -0400)
committerRoland Schulz <roland@utk.edu>
Sun, 22 Apr 2012 16:44:28 +0000 (12:44 -0400)
commited3418399de5174031a30b03f846f39627a651e5
tree8d5a8b9aca24275f93e6be4ce28c9869d5077ed5
parent8e3af23814fe206ed29086e42e76d9c452a720a2
Resolving a couple of clang analyzer warnings

Most of these are real errors or potential problems.

It's only a small start ~100 warnings are left and quite a few
false positives are within those remaining ones.

Change-Id: I7c83afa84c52362ecc1b7c992591d82f8262a6ac
18 files changed:
include/gmx_fatal.h
include/types/commrec.h
src/gmxlib/futil.c
src/gmxlib/index.c
src/gmxlib/matio.c
src/gmxlib/mshift.c
src/gmxlib/oenv.c
src/gmxlib/statutil.c
src/gmxlib/tpxio.c
src/gmxlib/vmdio.c
src/kernel/topio.c
src/kernel/xutils.c
src/mdlib/coupling.c
src/mdlib/domdec.c
src/mdlib/fft5d.c
src/mdlib/pme.c
src/tools/expfit.c
src/tools/gmx_genpr.c