mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-27 20:26:31 +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_StateExecuting);
|
||||
// cppcheck-suppress constArgument
|
||||
// cppcheck-suppress knownArgument
|
||||
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) {
|
||||
LOG_PERROR("ioctl(%d) retried %u times; giving up", request, XIOCTL_RETRIES);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user