From e754d6543a7bfefc8ae861d9aa95daa690492242 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 5 May 2019 10:08:30 +0200 Subject: [PATCH] remove double () (clang) --- camlibs/ptp2/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c index 09b6a94c0..5e0974633 100644 --- a/camlibs/ptp2/config.c +++ b/camlibs/ptp2/config.c @@ -7464,7 +7464,7 @@ _put_CaptureTarget(CONFIG_PUT_ARGS) { ) CR (camera_canon_eos_update_capture_target( camera, context, -1 )); - if ( (params->deviceinfo.VendorExtensionID == PTP_VENDOR_PANASONIC) ) { + if (params->deviceinfo.VendorExtensionID == PTP_VENDOR_PANASONIC) { if ((GP_OK != gp_setting_get("ptp2","capturetarget",buf)) || !strcmp(buf,"sdram")) C_PTP (ptp_panasonic_setcapturetarget(params, 1)); else