diff options
author | Adam Jackson <ajax@redhat.com> | 2008-02-29 15:30:34 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-02-29 15:30:34 -0500 |
commit | c1cc023fc50ce3a4a23f4682ebefd2301fd13170 (patch) | |
tree | 2656850557d3acbe917514da7b9cff17888e90b5 | |
parent | 3f8bd7e68d0028bce5075124a32cc004166486c6 (diff) |
Bug #7645: Fix a conditional that always evaluates to FALSE.
Since it's if (0 || foo), simplify to if (foo).
-rw-r--r-- | compat.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)) { |