Fixed static analyzer warnings
authorErik Lindahl <erik@kth.se>
Sat, 11 Jul 2015 18:54:44 +0000 (20:54 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 17 Jul 2015 04:55:26 +0000 (06:55 +0200)
commit6deccc32ac06eb330845870f580d78ef07f1d1c0
treeb41390591bb48d3704bd668d32a48fdf456a8526
parent89ae0ff189049e9917115784628f9af3f1fbbb76
Fixed static analyzer warnings

Removed code that had no effect since ct_estimate was reassigned
in expfit.cpp. Initialize variables that are set/used in different
semi-complex switch statements in angle.cpp, and clarify a
switch statement.

Change-Id: I15bb2942e268eb053644d1f457f136d60bc63cfb
src/gromacs/correlationfunctions/expfit.cpp
src/gromacs/trajectoryanalysis/modules/angle.cpp