From db3a01db6b455a198a65d5f680e3d59c6fa0206b Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Thu, 16 Feb 2023 20:53:39 +0100 Subject: [PATCH] libobs: Remove unused variables --- libobs/obs-video.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libobs/obs-video.c b/libobs/obs-video.c index aa97ac285..a2e9653fb 100644 --- a/libobs/obs-video.c +++ b/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