File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments