Avoid assignement in comparison.
This commit is contained in:
parent
6987e6f12a
commit
ed1dd1bb99
@ -416,7 +416,9 @@ static int copy_hardlink (const char *src, const char *dst,
|
||||
if (unlink (src) != 0) {
|
||||
return -1;
|
||||
}
|
||||
if (--lp->ln_count <= 0) {
|
||||
|
||||
lp->ln_count--;
|
||||
if (lp->ln_count <= 0) {
|
||||
remove_link (lp);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user