diff --git a/camlibs/ptp2/ptp.c b/camlibs/ptp2/ptp.c index 08e1504f2..3798ee757 100644 --- a/camlibs/ptp2/ptp.c +++ b/camlibs/ptp2/ptp.c @@ -9514,7 +9514,7 @@ read64bit: ; } /* Apple iOS X does that for the root folder. */ - if ((ob->oi.ParentObject == ob->oi.StorageID)) { + if (ob->oi.ParentObject == ob->oi.StorageID) { PTPObject *parentob; if (ptp_object_find (params, ob->oi.ParentObject, &parentob) != PTP_RC_OK) {