mirror of
https://github.com/libimobiledevice/idevicerestore.git
synced 2026-03-18 19:52:26 +00:00
Silence more compiler warnings
This commit is contained in:
@@ -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
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user