remove incorrect superflous exit code. is handled below

This commit is contained in:
Marcus Meissner
2023-03-06 11:55:35 +01:00
parent 17bc4149da
commit c0aa5db5f2

View File

@@ -1356,14 +1356,12 @@ fallback: \
\
/* we tell the camera to do it, but it takes around 0.7 seconds for the SLT-A58 */ \
time(&start); \
int matched = 0; \
do { \
C_PTP_REP (ptp_sony_getalldevicepropdesc (params)); \
C_PTP_REP (ptp_generic_getdevicepropdesc (params, prop, &dpd)); \
\
if (dpd.CurrentValue.bits == value) { \
GP_LOG_D ("Value matched!"); \
matched = 1; \
break; \
} \
if (dpd.CurrentValue.bits != origval) { \
@@ -1375,7 +1373,6 @@ fallback: \
\
time(&end); \
} while (end-start <= 3); \
if (matched) break; \
\
int overshoot = 0; \
if (useenumorder) { \