[vlc-devel] [PATCH 09/13] vout/control: remove dead code

RĂ©mi Denis-Courmont remi at remlab.net
Wed Jun 12 19:48:33 CEST 2019


---
 src/video_output/control.c | 8 --------
 src/video_output/control.h | 5 -----
 2 files changed, 13 deletions(-)

diff --git a/src/video_output/control.c b/src/video_output/control.c
index 84bcc31869..e456f19869 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -114,15 +114,7 @@ void vout_control_PushBool(vout_control_t *ctrl, int type, bool boolean)
     cmd.boolean = boolean;
     vout_control_Push(ctrl, &cmd);
 }
-void vout_control_PushPair(vout_control_t *ctrl, int type, int a, int b)
-{
-    vout_control_cmd_t cmd;
 
-    vout_control_cmd_Init(&cmd, type);
-    cmd.pair.a = a;
-    cmd.pair.b = b;
-    vout_control_Push(ctrl, &cmd);
-}
 void vout_control_PushString(vout_control_t *ctrl, int type, const char *string)
 {
     vout_control_cmd_t cmd;
diff --git a/src/video_output/control.h b/src/video_output/control.h
index d24784bd6a..5eaf766bbb 100644
--- a/src/video_output/control.h
+++ b/src/video_output/control.h
@@ -44,10 +44,6 @@ typedef struct {
     union {
         bool    boolean;
         char    *string;
-        struct {
-            int a;
-            int b;
-        } pair;
         struct {
             unsigned left;
             unsigned top;
@@ -99,7 +95,6 @@ void vout_control_WaitEmpty(vout_control_t *);
 void vout_control_Push(vout_control_t *, vout_control_cmd_t *);
 void vout_control_PushVoid(vout_control_t *, int type);
 void vout_control_PushBool(vout_control_t *, int type, bool boolean);
-void vout_control_PushPair(vout_control_t *, int type, int a, int b);
 void vout_control_PushString(vout_control_t *, int type, const char *string);
 void vout_control_Wake(vout_control_t *);
 void vout_control_Hold(vout_control_t *);
-- 
2.20.1



More information about the vlc-devel mailing list