summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-02-29 15:30:34 -0500
committerAdam Jackson <ajax@redhat.com>2008-02-29 15:30:34 -0500
commitc1cc023fc50ce3a4a23f4682ebefd2301fd13170 (patch)
tree2656850557d3acbe917514da7b9cff17888e90b5 /compat.c
parent3f8bd7e68d0028bce5075124a32cc004166486c6 (diff)
Bug #7645: Fix a conditional that always evaluates to FALSE.
Since it's if (0 || foo), simplify to if (foo).
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c3
1 files changed, 1 insertions, 2 deletions
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)) {