Skip to content

Commit

Permalink
silence uninitialized access valgrind warning
Browse files Browse the repository at this point in the history
  • Loading branch information
akohlmey committed Sep 21, 2023
1 parent e52eb81 commit c3cc497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/colvars/colvar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ colvar::colvar()
after_restart = false;
kinetic_energy = 0.0;
potential_energy = 0.0;
period = 0.0;

#ifdef LEPTON
dev_null = 0.0;
Expand Down

0 comments on commit c3cc497

Please sign in to comment.