[vlc-commits] control: remove unused PushInteger()
Rémi Denis-Courmont
git at videolan.org
Mon Jan 28 21:38:04 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 27 16:39:00 2019 +0200| [7fe81977bed034256dc2a36b087c61312f5131ac] | committer: Rémi Denis-Courmont
control: remove unused PushInteger()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fe81977bed034256dc2a36b087c61312f5131ac
---
src/video_output/control.c | 8 --------
src/video_output/control.h | 2 --
2 files changed, 10 deletions(-)
diff --git a/src/video_output/control.c b/src/video_output/control.c
index cdc9529676..4fa1475258 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -116,14 +116,6 @@ void vout_control_PushBool(vout_control_t *ctrl, int type, bool boolean)
cmd.boolean = boolean;
vout_control_Push(ctrl, &cmd);
}
-void vout_control_PushInteger(vout_control_t *ctrl, int type, int integer)
-{
- vout_control_cmd_t cmd;
-
- vout_control_cmd_Init(&cmd, type);
- cmd.integer = integer;
- vout_control_Push(ctrl, &cmd);
-}
void vout_control_PushPair(vout_control_t *ctrl, int type, int a, int b)
{
vout_control_cmd_t cmd;
diff --git a/src/video_output/control.h b/src/video_output/control.h
index b6b982289a..b05eabff65 100644
--- a/src/video_output/control.h
+++ b/src/video_output/control.h
@@ -55,7 +55,6 @@ typedef struct {
union {
bool boolean;
char *string;
- int integer;
struct {
int a;
int b;
@@ -102,7 +101,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_PushInteger(vout_control_t *, int type, int integer);
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 *);
More information about the vlc-commits
mailing list