[vlc-commits] display: remove unused assignment

Rémi Denis-Courmont git at videolan.org
Sun May 20 19:51:55 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 19 18:10:19 2018 +0300| [47c352d9ddac61bfe7161902215627adf985539f] | committer: Rémi Denis-Courmont

display: remove unused assignment

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47c352d9ddac61bfe7161902215627adf985539f
---

 src/video_output/display.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index 555bb156ef..8d5de35883 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -756,11 +756,8 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures)
                 if (!is_fullscreen && !osys->window_fullscreen)
                     vout_SetDisplayWindowSize(osys->vout, osys->width_saved,
                                               osys->height_saved);
-            } else {
-                is_fullscreen = osys->cfg.is_fullscreen;
-
+            } else
                 msg_Err(vd, "Failed to set fullscreen");
-            }
         }
 #endif
 



More information about the vlc-commits mailing list