summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-05-07 15:55:39 +0200
committerDave Reisner <dreisner@archlinux.org>2013-05-07 16:02:34 +0200
commitcccc4fd2a1747cd77e43e9da6935b30f9a61b348 (patch)
tree0f9785f138be0d9c93a02f851ff5a269d67c5243
parent5294b462aec63257182059a4fb79d07b1ec895e6 (diff)
downloadmkinitcpio-cccc4fd2a1747cd77e43e9da6935b30f9a61b348.tar.gz
mkinitcpio-cccc4fd2a1747cd77e43e9da6935b30f9a61b348.tar.xz
lsinitcpio: remove unused variables
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-xlsinitcpio3
1 files changed, 0 insertions, 3 deletions
diff --git a/lsinitcpio b/lsinitcpio
index e431e72..c1c5e21 100755
--- a/lsinitcpio
+++ b/lsinitcpio
@@ -69,9 +69,6 @@ size_to_human() {
}
detect_filetype() {
- local offt
- local kver_validator='^[[:digit:]]+(\.[[:digit:]]+)+'
-
case $(hexdump -n 6 -e '"%c"' "$1") in
'070701')
# no compression