summaryrefslogtreecommitdiff
path: root/src/class/mtp/mtp_device.h
diff options
context:
space:
mode:
authorstepan chepushtanov <[email protected]>2026-03-05 13:43:37 +0700
committerstepan chepushtanov <[email protected]>2026-03-25 15:43:48 +0700
commita64a8579c5bc25ffbe73da55f8431fab6835f3de (patch)
tree8a107fdc094162e26409800291f3fad0379e314d /src/class/mtp/mtp_device.h
parentcd7bbba1ddc1ee8f6b4f896c98a5ec452b0953d6 (diff)
mtp: fix adding empty cstring to mtp_container_info
Diffstat (limited to 'src/class/mtp/mtp_device.h')
-rw-r--r--src/class/mtp/mtp_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/class/mtp/mtp_device.h b/src/class/mtp/mtp_device.h
index 6cce7efbb..f2c5cef7f 100644
--- a/src/class/mtp/mtp_device.h
+++ b/src/class/mtp/mtp_device.h
@@ -78,6 +78,10 @@ typedef struct {
mtp_auint16_t(_capture_count) capture_formats; \
mtp_auint16_t(_playback_count) playback_formats; \
/* string fields will be added using append function */ \
+ /* mtp_string_t() Manufacturer */ \
+ /* mtp_string_t() Model */ \
+ /* mtp_string_t() Device Version */ \
+ /* mtp_string_t() Serial Number */ \
}
typedef MTP_DEVICE_INFO_STRUCT( //-V2586 [MISRA-C-18.7] Flexible array members should not be declared