Fixes for clang-tidy-9
[alexxy/gromacs.git] / src / gromacs / pulling / pull_rotation.cpp
index 9a95f2430d967e1fe7b5fc4a15f2ec07b2d82a44..17cb7bdd8cf6e9b6e9ce0e9e4f05910d02f9f823 100644 (file)
@@ -3636,14 +3636,7 @@ std::unique_ptr<gmx::EnforcedRotation> init_rot(FILE*                       fplo
     er->restartWithAppending = (startingBehavior == gmx::StartingBehavior::RestartWithAppending);
 
     /* When appending, skip first output to avoid duplicate entries in the data files */
-    if (er->restartWithAppending)
-    {
-        er->bOut = FALSE;
-    }
-    else
-    {
-        er->bOut = TRUE;
-    }
+    er->bOut = er->restartWithAppending;
 
     if (MASTER(cr) && er->bOut)
     {