summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-07-01 01:06:50 +0200
committerGravatar Nikias Bassen2025-07-01 01:06:50 +0200
commit460d8f14a1a343351a212ba96e16157cdc88d069 (patch)
treecf5bdd5ddb226a474508f9a916466af5e469b5be /src/idevicerestore.c
parentc752e8780b043c8822be2417cc5596b8f2ad9c0b (diff)
downloadidevicerestore-460d8f14a1a343351a212ba96e16157cdc88d069.tar.gz
idevicerestore-460d8f14a1a343351a212ba96e16157cdc88d069.tar.bz2
Fix a couple of compiler warnings and remove unused variables
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 7be50ea..1465f87 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1772,7 +1772,6 @@ int main(int argc, char* argv[])
char* ipsw = NULL;
int ipsw_info = 0;
int result = 0;
- int is_terminal = 0;
const char* logfile = NULL;
logger_set_print_func(tty_print);
@@ -1804,7 +1803,6 @@ int main(int argc, char* argv[])
client->flags &= ~FLAG_INTERACTIVE;
} else {
client->flags |= FLAG_INTERACTIVE;
- is_terminal = 1;
}
#ifdef HAVE_LIMERA1N
@@ -2834,7 +2832,6 @@ int extract_component(ipsw_archive_t ipsw, const char* path, void** component_da
int personalize_component(struct idevicerestore_client_t* client, const char *component_name, const void* component_data, size_t component_size, plist_t tss_response, void** personalized_component, size_t* personalized_component_size)
{
void* component_blob = NULL;
- size_t component_blob_size = 0;
void* stitched_component = NULL;
size_t stitched_component_size = 0;