diff options
author | 2020-12-23 17:39:01 -0800 | |
---|---|---|
committer | 2022-04-30 13:34:21 +0200 | |
commit | cf2c7d48380969200034afeab93169e68c34c397 (patch) | |
tree | a96f518be279922d00898a3ce81dc0ff483a40b2 /tools/idevicecrashreport.c | |
parent | 6cb13f9e6d3939930aecf91d8e23d1896a3b92e5 (diff) | |
download | libimobiledevice-cf2c7d48380969200034afeab93169e68c34c397.tar.gz libimobiledevice-cf2c7d48380969200034afeab93169e68c34c397.tar.bz2 |
[clang-tidy] Do not use else after return
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools/idevicecrashreport.c')
-rw-r--r-- | tools/idevicecrashreport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/idevicecrashreport.c b/tools/idevicecrashreport.c index 48bda3a..d0d2147 100644 --- a/tools/idevicecrashreport.c +++ b/tools/idevicecrashreport.c | |||
@@ -475,10 +475,10 @@ int main(int argc, char* argv[]) | |||
475 | if (service_error == SERVICE_E_SUCCESS || service_error == SERVICE_E_TIMEOUT) { | 475 | if (service_error == SERVICE_E_SUCCESS || service_error == SERVICE_E_TIMEOUT) { |
476 | attempts++; | 476 | attempts++; |
477 | continue; | 477 | continue; |
478 | } else { | ||
479 | fprintf(stderr, "ERROR: Crash logs could not be moved. Connection interrupted (%d).\n", service_error); | ||
480 | break; | ||
481 | } | 478 | } |
479 | |||
480 | fprintf(stderr, "ERROR: Crash logs could not be moved. Connection interrupted (%d).\n", service_error); | ||
481 | break; | ||
482 | } | 482 | } |
483 | service_client_free(svcmove); | 483 | service_client_free(svcmove); |
484 | free(ping); | 484 | free(ping); |