From 0901c78d3459e65f12492b7ed2ff0f46909b1201 Mon Sep 17 00:00:00 2001 From: mrdude2478 Date: Wed, 20 Sep 2023 21:10:47 +0100 Subject: [PATCH] cleanup unused variables --- source/install/nsp.cpp | 1 - source/install/xci.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/source/install/nsp.cpp b/source/install/nsp.cpp index 649efc8..86703b5 100644 --- a/source/install/nsp.cpp +++ b/source/install/nsp.cpp @@ -85,7 +85,6 @@ namespace tin::install::nsp std::string name(this->GetFileEntryName(fileEntry)); // fix cert filname extension becoming corrupted when xcz/nsz is installing certs/ticks. - FILE* fp; int pos = 0; std::string mystr = name; pos = mystr.find_last_of('.'); diff --git a/source/install/xci.cpp b/source/install/xci.cpp index ab2ba43..ef54b4a 100644 --- a/source/install/xci.cpp +++ b/source/install/xci.cpp @@ -160,7 +160,6 @@ namespace tin::install::xci std::string name(this->GetFileEntryName(fileEntry)); // fix cert filname extension becoming corrupted when xcz/nsz is installing certs/ticks. - FILE* fp; int pos = 0; std::string mystr = name; pos = mystr.find_last_of('.');