mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-27 12:16:31 +00:00
lint fix
This commit is contained in:
@@ -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},
|
||||
|
||||
@@ -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},
|
||||
|
||||
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user