mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-10 09:33:43 +00:00
lint fix
This commit is contained in:
@@ -34,8 +34,8 @@ static const struct {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
const char *name;
|
const char *name; // cppcheck-suppress unusedStructMember
|
||||||
const unsigned format;
|
const unsigned format; // cppcheck-suppress unusedStructMember
|
||||||
} _FORMATS[] = {
|
} _FORMATS[] = {
|
||||||
{"YUYV", V4L2_PIX_FMT_YUYV},
|
{"YUYV", V4L2_PIX_FMT_YUYV},
|
||||||
{"UYVY", V4L2_PIX_FMT_UYVY},
|
{"UYVY", V4L2_PIX_FMT_UYVY},
|
||||||
@@ -46,8 +46,8 @@ static const struct {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
const char *name;
|
const char *name; // cppcheck-suppress unusedStructMember
|
||||||
const enum v4l2_memory io_method;
|
const enum v4l2_memory io_method; // cppcheck-suppress unusedStructMember
|
||||||
} _IO_METHODS[] = {
|
} _IO_METHODS[] = {
|
||||||
{"MMAP", V4L2_MEMORY_MMAP},
|
{"MMAP", V4L2_MEMORY_MMAP},
|
||||||
{"USERPTR", V4L2_MEMORY_USERPTR},
|
{"USERPTR", V4L2_MEMORY_USERPTR},
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
const us_encoder_type_e type;
|
const us_encoder_type_e type; // cppcheck-suppress unusedStructMember
|
||||||
} _ENCODER_TYPES[] = {
|
} _ENCODER_TYPES[] = {
|
||||||
{"CPU", US_ENCODER_TYPE_CPU},
|
{"CPU", US_ENCODER_TYPE_CPU},
|
||||||
{"HW", US_ENCODER_TYPE_HW},
|
{"HW", US_ENCODER_TYPE_HW},
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
const char *ext;
|
const char *ext; // cppcheck-suppress unusedStructMember
|
||||||
const char *mime;
|
const char *mime; // cppcheck-suppress unusedStructMember
|
||||||
} _MIME_TYPES[] = {
|
} _MIME_TYPES[] = {
|
||||||
{"html", "text/html"},
|
{"html", "text/html"},
|
||||||
{"htm", "text/html"},
|
{"htm", "text/html"},
|
||||||
|
|||||||
Reference in New Issue
Block a user