]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lslock: remove duplicate variable
authorKarel Zak <kzak@redhat.com>
Thu, 3 May 2012 10:19:52 +0000 (12:19 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 3 May 2012 14:01:04 +0000 (16:01 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lslocks.c

index dd7183f9da9b545f87a1cab690ea8f0738540751..2f9093de8293b34246f21b696acf5aa27326a360 100644 (file)
@@ -78,8 +78,6 @@ static struct colinfo infos[] = {
 #define NCOLS ARRAY_SIZE(infos)
 static int columns[NCOLS], ncolumns;
 static pid_t pid = 0;
-/* array with IDs of enabled columns */
-static int columns[NCOLS], ncolumns;
 
 struct lock {
        struct list_head locks;