address uninitialized variable issues pointed out by valgrind/coverity
This commit is contained in:
@ -197,7 +197,7 @@ void FixController::end_of_step()
|
||||
|
||||
// invoke compute if not previously invoked
|
||||
|
||||
double current;
|
||||
double current = 0.0;
|
||||
|
||||
if (pvwhich == COMPUTE) {
|
||||
if (pvindex == 0) {
|
||||
|
||||
Reference in New Issue
Block a user