summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2019-05-05 10:08:30 +0200
committerMarcus Meissner <marcus@jet.franken.de>2019-05-05 10:08:30 +0200
commite754d6543a7bfefc8ae861d9aa95daa690492242 (patch)
tree0b0c6e1a71a2a305232cbd35474a2e6be3667a7d
parentab04dd460f9e2d325a217007acb5da298232f4bc (diff)
downloadlibgphoto2-e754d6543a7bfefc8ae861d9aa95daa690492242.tar.gz
remove double () (clang)
-rw-r--r--camlibs/ptp2/config.c2
1 files changed, 1 insertions, 1 deletions
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