From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 07/13] installer: Remove unused variables Date: Fri, 05 Apr 2024 12:59:36 +0000 Message-ID: <20240405125942.1803058-7-michael.tremer@ipfire.org> In-Reply-To: <20240405125942.1803058-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4246532542854738692==" List-Id: --===============4246532542854738692== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Michael Tremer --- src/installer/hw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/installer/hw.c b/src/installer/hw.c index f05608fd1..039f8ac26 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -131,8 +131,6 @@ static int strstartswith(const char* a, const char* b) { return (strncmp(a, b, strlen(b)) == 0); } -static char loop_device[STRING_SIZE]; - static int setup_loop_device(const char* source, const char* device) { int file_fd = open(source, O_RDWR); if (file_fd < 0) @@ -1184,7 +1182,6 @@ static int hw_umount_btrfs_layout() { int hw_umount_filesystems(struct hw_destination* dest, const char* prefix) { int r; - char target[STRING_SIZE]; // Write all buffers to disk before umounting hw_sync(); -- 2.39.2 --===============4246532542854738692==--