fix gcc building

This commit is contained in:
Nick Chan committed 2023-01-27 22:06:43 +08:00
1 parent 3e6382f65e
commit 2cafb8ae19
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -230,7 +230,7 @@ int enter_recovery_cmd(const char* udid) {
int reboot_cmd(const char* udid) {
idevice_t device = NULL;
lockdownd_client_t __unused lockdown = NULL;
lockdownd_client_t lockdown = NULL;
if (idevice_new(&device, udid) != IDEVICE_E_SUCCESS) {
LOG(LOG_ERROR, "Could not connect to device");
return -1;