From c1cc023fc50ce3a4a23f4682ebefd2301fd13170 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 29 Feb 2008 15:30:34 -0500 Subject: Bug #7645: Fix a conditional that always evaluates to FALSE. Since it's if (0 || foo), simplify to if (foo). --- compat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compat.c') diff --git a/compat.c b/compat.c index 70a6da3..00eb72b 100644 --- a/compat.c +++ b/compat.c @@ -246,8 +246,7 @@ unsigned merge; merge= newGC->merge; gc= &info->groupCompat[group]; - if ((newGC->fileID<0)|| - ((gc->real_mods==newGC->real_mods)&&(gc->vmods==newGC->vmods))) { + if (((gc->real_mods==newGC->real_mods)&&(gc->vmods==newGC->vmods))) { return True; } if (((gc->fileID==newGC->fileID)&&(warningLevel>0))||(warningLevel>9)) { -- cgit v1.2.3