Преглед изворни кода

libobs: Remove unused variables

PatTheMav пре 2 година
родитељ
комит
db3a01db6b
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      libobs/obs-video.c

+ 0 - 2
libobs/obs-video.c

@@ -221,7 +221,6 @@ static const char *render_output_texture_name = "render_output_texture";
 static inline gs_texture_t *
 render_output_texture(struct obs_core_video_mix *mix)
 {
-	struct obs_core_video *video = &obs->video;
 	gs_texture_t *texture = mix->render_texture;
 	gs_texture_t *target = mix->output_texture;
 	uint32_t width = gs_texture_get_width(target);
@@ -1055,7 +1054,6 @@ static inline void update_active_state(struct obs_core_video_mix *video)
 		os_atomic_load_long(&video->gpu_encoder_active) > 0;
 	const bool active = raw_active || gpu_active;
 #else
-	const bool gpu_active = 0;
 	const bool active = raw_active;
 #endif