summaryrefslogtreecommitdiffstats
path: root/lib/mangle.c
diff options
context:
space:
mode:
authorKarel Zak2012-08-13 21:57:34 +0200
committerKarel Zak2012-08-13 21:57:34 +0200
commitf369387731d83d4fc5aa42c883c3033e6f8466bb (patch)
tree0cc4f12aa08d7d9ba1cceb58d845c7e977f29ab6 /lib/mangle.c
parentlib/sysfs: expect p<N> suffix for partitions (diff)
downloadkernel-qcow2-util-linux-f369387731d83d4fc5aa42c883c3033e6f8466bb.tar.gz
kernel-qcow2-util-linux-f369387731d83d4fc5aa42c883c3033e6f8466bb.tar.xz
kernel-qcow2-util-linux-f369387731d83d4fc5aa42c883c3033e6f8466bb.zip
lib/mangle: remove unused variable
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/mangle.c')
-rw-r--r--lib/mangle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/mangle.c b/lib/mangle.c
index 2b1817361..5236e97bf 100644
--- a/lib/mangle.c
+++ b/lib/mangle.c
@@ -51,7 +51,6 @@ char *mangle(const char *s)
void unmangle_to_buffer(const char *s, char *buf, size_t len)
{
size_t sz = 0;
- char *x = buf;
if (!s)
return;