From a9340f5d9d7d906d8c466cc4121a3441f7aea7e2 Mon Sep 17 00:00:00 2001 From: Ruslan Mstoi Date: Tue, 30 Jan 2024 18:00:21 +0200 Subject: [PATCH] scripts: check-image-compatibility.sh: remove unused variable extension extenstion variable is never used, hence remove Signed-off-by: Ruslan Mstoi --- scripts/check-image-compatibility.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/check-image-compatibility.sh b/scripts/check-image-compatibility.sh index 6595a7225..1ee579b12 100644 --- a/scripts/check-image-compatibility.sh +++ b/scripts/check-image-compatibility.sh @@ -77,8 +77,6 @@ else working_dir=`readlink -m ${working_dir}` fi -#get file extension and image type -extension="${file_name##*.}" filename="${file_name%.*}" dest_file=${working_dir}/${filename}.raw image_type=$(qemu-img info ${file_abs_path} | grep 'file format:' | awk '{ print $3 }')