Skip to content

Commit 903bc45

Browse files
committed
lint fixes
1 parent b2b1989 commit 903bc45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ustreamer/encoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void us_encoder_open(us_encoder_s *enc, us_capture_s *cap) {
131131
} else {
132132
US_LOG_INFO("Switching to CPU encoder: the input format is not (M)JPEG ...");
133133
type = US_ENCODER_TYPE_CPU;
134-
quality = cap->jpeg_quality;
134+
quality = cap->jpeg_quality; // cppcheck-suppress redundantAssignment
135135
}
136136

137137
} else if (type == US_ENCODER_TYPE_M2M_VIDEO || type == US_ENCODER_TYPE_M2M_IMAGE) {

src/v4p/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ static void _main_loop(void) {
242242
us_drm_destroy(drm);
243243
}
244244

245-
static void *_follower_thread(void *v_unix_follow) {
245+
static void *_follower_thread(void *v_unix_follow) { // cppcheck-suppress constParameterCallback
246246
US_THREAD_SETTLE("follower");
247247
const char *path = v_unix_follow;
248248
assert(path != NULL);

0 commit comments

Comments
 (0)