Reduce a check

This commit is contained in:
Arun Prakash Jana 2020-08-09 14:04:27 +05:30
parent 966fe839ee
commit aa8769ecee
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -3446,11 +3446,10 @@ static void printent(const struct entry *ent, uint namecols, bool sel)
ind = '*';
}
if (ent->flags & HARD_LINK)
pair = C_HRD;
if (!ent->size)
pair = C_UND;
else if (ent->flags & HARD_LINK)
pair = C_HRD;
else if (!pair)
pair = C_FIL;
break;