]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sfdisk: remove dead assigment
authorKarel Zak <kzak@redhat.com>
Thu, 2 Feb 2012 13:43:07 +0000 (14:43 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 2 Feb 2012 13:43:07 +0000 (14:43 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/sfdisk.c

index a07f81110bd84a43319d9ad6a58cf1bf46dc951c..6b87b4a97644fba8d30a99cdf06c50a3963b7702 100644 (file)
@@ -123,7 +123,6 @@ static int
 sseek(char *dev, int fd, unsigned long s) {
     off_t in, out;
     in = ((off_t) s << 9);
-    out = 1;
 
     if ((out = lseek(fd, in, SEEK_SET)) != in) {
        perror("lseek");