Fix GCC 4.9 warnings
[alexxy/gromacs.git] / src / gromacs / gmxlib / nonbonded / nonbonded.c
index ad687f77b44fcf9e28129695525163e37412859e..be1c17b36eae03a123f2c92853349a1cc1a2354e 100644 (file)
@@ -377,7 +377,7 @@ void do_nonbonded(t_forcerec *fr,
                 nlist = nblists->nlist_sr;
                 f                                   = f_shortrange;
             }
-            else if (range == 1)
+            else
             {
                 /* Long-range */
                 if (!(flags & GMX_NONBONDED_DO_LR))