This commit is contained in:
Maxim Devaev
2022-07-20 16:42:49 +03:00
parent b693c24411
commit 85e2dbd69e
3 changed files with 7 additions and 7 deletions

View File

@@ -34,8 +34,8 @@ static const struct {
};
static const struct {
const char *name;
const unsigned format;
const char *name; // cppcheck-suppress unusedStructMember
const unsigned format; // cppcheck-suppress unusedStructMember
} _FORMATS[] = {
{"YUYV", V4L2_PIX_FMT_YUYV},
{"UYVY", V4L2_PIX_FMT_UYVY},
@@ -46,8 +46,8 @@ static const struct {
};
static const struct {
const char *name;
const enum v4l2_memory io_method;
const char *name; // cppcheck-suppress unusedStructMember
const enum v4l2_memory io_method; // cppcheck-suppress unusedStructMember
} _IO_METHODS[] = {
{"MMAP", V4L2_MEMORY_MMAP},
{"USERPTR", V4L2_MEMORY_USERPTR},

View File

@@ -25,7 +25,7 @@
static const struct {
const char *name;
const us_encoder_type_e type;
const us_encoder_type_e type; // cppcheck-suppress unusedStructMember
} _ENCODER_TYPES[] = {
{"CPU", US_ENCODER_TYPE_CPU},
{"HW", US_ENCODER_TYPE_HW},

View File

@@ -24,8 +24,8 @@
static const struct {
const char *ext;
const char *mime;
const char *ext; // cppcheck-suppress unusedStructMember
const char *mime; // cppcheck-suppress unusedStructMember
} _MIME_TYPES[] = {
{"html", "text/html"},
{"htm", "text/html"},