mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-18 05:23:43 +00:00
lint fixes
This commit is contained in:
@@ -77,6 +77,7 @@ const char *omx_state_to_string(OMX_STATETYPE state) {
|
|||||||
CASE_TO_STRING(OMX_StateIdle);
|
CASE_TO_STRING(OMX_StateIdle);
|
||||||
CASE_TO_STRING(OMX_StateExecuting);
|
CASE_TO_STRING(OMX_StateExecuting);
|
||||||
// cppcheck-suppress constArgument
|
// cppcheck-suppress constArgument
|
||||||
|
// cppcheck-suppress knownArgument
|
||||||
CASE_ASSERT("Unsupported OMX state", state);
|
CASE_ASSERT("Unsupported OMX state", state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ INLINE int xioctl(int fd, int request, void *arg) {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// cppcheck-suppress knownConditionTrueFalse
|
||||||
if (retval && retries <= 0) {
|
if (retval && retries <= 0) {
|
||||||
LOG_PERROR("ioctl(%d) retried %u times; giving up", request, XIOCTL_RETRIES);
|
LOG_PERROR("ioctl(%d) retried %u times; giving up", request, XIOCTL_RETRIES);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user