Commit 071b940a authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

files: don't compare unsigned value against 0

CID 1042292 (#1 of 1): Unsigned compared against 0 (NO_EFFECT)
unsigned_compare: This less-than-zero comparison of an unsigned value is
never true. "len < 0UL"
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 55fe0939
......@@ -138,7 +138,7 @@ int do_dump_gen_file(struct fd_parms *p, int lfd,
int fill_fdlink(int lfd, const struct fd_parms *p, struct fd_link *link)
{
size_t len;
int len;
link->name[0] = '.';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment