From 20a6450f095abc0eb6992b77ab9e6f6f5adc9220 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Mon, 24 Jan 2022 18:22:43 +0100 Subject: [PATCH] Remove superfluous variables --- src/updater.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/updater.cpp b/src/updater.cpp index 075f817..e42578a 100644 --- a/src/updater.cpp +++ b/src/updater.cpp @@ -409,9 +409,6 @@ namespace appimage::update { auto oldDigest = oldAppImage.calculateHash(); auto newDigest = newAppImage.calculateHash(); - auto oldDigestOrig = readElfSection(pathToOldAppImage, ".sha256_sig"); - auto newDigestOrig = readElfSection(pathToNewAppImage, ".sha256_sig"); - std::string tempDir; { auto buffer = makeBuffer("/tmp/AppImageUpdate-XXXXXX");