Silence more compiler warnings

This commit is contained in:
Nikias Bassen
2025-07-01 03:26:42 +02:00
parent 460d8f14a1
commit e574eaeb9f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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;
}
}