clang-tidy modernize
[alexxy/gromacs.git] / src / gromacs / utility / compare.cpp
index 94f86355a0d3329bcc3b89b6c884fcdfb493555b..6214f2599518897264c9df857cb84ae1c6a05139 100644 (file)
@@ -105,22 +105,6 @@ void cmp_uc(FILE *fp, const char *s, int index, unsigned char i1, unsigned char
 
 gmx_bool cmp_bool(FILE *fp, const char *s, int index, gmx_bool b1, gmx_bool b2)
 {
-    if (b1)
-    {
-        b1 = 1;
-    }
-    else
-    {
-        b1 = 0;
-    }
-    if (b2)
-    {
-        b2 = 1;
-    }
-    else
-    {
-        b2 = 0;
-    }
     if (b1 != b2)
     {
         if (index != -1)