summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-04 03:25:12 +0200
committerGravatar Martin Szulecki2020-06-04 03:25:12 +0200
commit2e937857c1b7799fd6d8da04c474abed1b138294 (patch)
tree768c785b3a0c693d58eda466e1c866d5868c6c67
parente31ee8dda8f7acfd185f28ec663a4d7a93bfd04c (diff)
downloadlibimobiledevice-2e937857c1b7799fd6d8da04c474abed1b138294.tar.gz
libimobiledevice-2e937857c1b7799fd6d8da04c474abed1b138294.tar.bz2
idevice: Fix compiler warning about switch case fallthrough
-rw-r--r--src/idevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevice.c b/src/idevice.c
index d3f28c2..de50a62 100644
--- a/src/idevice.c
+++ b/src/idevice.c
@@ -670,8 +670,8 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_connection_receive_timeout(idevice_
case IDEVICE_E_SUCCESS:
break;
case IDEVICE_E_UNKNOWN_ERROR:
- debug_info("ERROR: socket_check_fd returned %d (%s)", conn_error, strerror(-conn_error));
default:
+ debug_info("ERROR: socket_check_fd returned %d (%s)", conn_error, strerror(-conn_error));
return error;
}
}