diff options
author | 2025-07-01 03:26:42 +0200 | |
---|---|---|
committer | 2025-07-01 03:26:42 +0200 | |
commit | e574eaeb9f1055793dd276caaa75ce9449db3fed (patch) | |
tree | d2178321ff37293fab4e5bde8a05b48e9ad2ca04 /src | |
parent | 460d8f14a1a343351a212ba96e16157cdc88d069 (diff) | |
download | idevicerestore-e574eaeb9f1055793dd276caaa75ce9449db3fed.tar.gz idevicerestore-e574eaeb9f1055793dd276caaa75ce9449db3fed.tar.bz2 |
Silence more compiler warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/fdr.c | 2 | ||||
-rw-r--r-- | src/restore.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -181,7 +181,7 @@ int fdr_poll_and_handle_message(fdr_client_t fdr) void *fdr_listener_thread(void *cdata) { fdr_client_t fdr = cdata; - int res; + int res = 0; while (fdr && fdr->connection) { logger(LL_DEBUG, "FDR %p waiting for message...\n", fdr); diff --git a/src/restore.c b/src/restore.c index bb4bbb5..aa9bf89 100644 --- a/src/restore.c +++ b/src/restore.c @@ -5083,7 +5083,7 @@ static void _restore_calculate_recovery_os_partition_size(struct idevicerestore_ const char* path = plist_get_string_ptr(p_path, NULL); uint64_t fsize = 0; if (ipsw_get_file_size(client->ipsw, path, &fsize) == 0) { - logger(LL_DEBUG, "%s: Adding %s (%s, %llu bytes)\n", __func__, component, path, fsize); + logger(LL_DEBUG, "%s: Adding %s (%s, %" PRIu64 " bytes)\n", __func__, component, path, fsize); total_size += (double)fsize / 0x100000; } } |