From 2eed98a4944097f2ed2ef91db43690a523c7e09b Mon Sep 17 00:00:00 2001 From: axxel Date: Tue, 8 Oct 2024 00:12:40 +0200 Subject: [PATCH] ptp2: comment out currently unused MTPObjectFormat --- camlibs/ptp2/ptp.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/camlibs/ptp2/ptp.h b/camlibs/ptp2/ptp.h index 04c4cd14d..4dbb79d31 100644 --- a/camlibs/ptp2/ptp.h +++ b/camlibs/ptp2/ptp.h @@ -3822,12 +3822,15 @@ struct _MTPPropertyDesc { }; typedef struct _MTPPropertyDesc MTPPropertyDesc; +#if 0 +/* currently unused */ struct _MTPObjectFormat { uint16_t ofc; MTPPropertyDesc *pds; unsigned int pds_len; }; typedef struct _MTPObjectFormat MTPObjectFormat; +#endif struct _PanasonicLiveViewSize { uint16_t width; @@ -3881,8 +3884,11 @@ struct _PTPParams { int split_header_data; int ocs64; /* 64bit objectsize */ +#if 0 + /* currently unused */ MTPObjectFormat *objectformats; unsigned int objectformats_len; +#endif /* PTP: internal structures used by ptp driver */ PTPObject *objects;