1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Remove self assigment which has no effect

Just a tiny code cleanup found by analyzer.
This commit is contained in:
Zdenek Kabelac 2011-08-04 14:11:28 +00:00
parent 5dfa0945cb
commit 6fb5fbbabf

View File

@ -274,8 +274,7 @@ static int _size_arg(struct cmd_context *cmd __attribute__((unused)), struct arg
if (i < 0) {
return 0;
} else if (i == 7) {
/* sectors */
v = v;
/* v is already in sectors */
} else if (i == 6) {
/* bytes */
v_tmp = (uint64_t) v;