Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
9edf6943
Commit
9edf6943
authored
Aug 14, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning about unused variables.
parent
2aab2631
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
modules/access/dvdnav.c
modules/access/dvdnav.c
+3
-0
modules/access/v4l2/v4l2.c
modules/access/v4l2/v4l2.c
+7
-4
No files found.
modules/access/dvdnav.c
View file @
9edf6943
...
@@ -1352,6 +1352,7 @@ static void* EventThread( vlc_object_t *p_this )
...
@@ -1352,6 +1352,7 @@ static void* EventThread( vlc_object_t *p_this )
static
int
EventMouse
(
vlc_object_t
*
p_this
,
char
const
*
psz_var
,
static
int
EventMouse
(
vlc_object_t
*
p_this
,
char
const
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
{
(
void
)
p_this
;
(
void
)
oldval
;
(
void
)
newval
;
(
void
)
p_data
;
event_thread_t
*
p_ev
=
p_data
;
event_thread_t
*
p_ev
=
p_data
;
vlc_mutex_lock
(
&
p_ev
->
lock
);
vlc_mutex_lock
(
&
p_ev
->
lock
);
if
(
psz_var
[
6
]
==
'c'
)
if
(
psz_var
[
6
]
==
'c'
)
...
@@ -1366,6 +1367,7 @@ static int EventMouse( vlc_object_t *p_this, char const *psz_var,
...
@@ -1366,6 +1367,7 @@ static int EventMouse( vlc_object_t *p_this, char const *psz_var,
static
int
EventKey
(
vlc_object_t
*
p_this
,
char
const
*
psz_var
,
static
int
EventKey
(
vlc_object_t
*
p_this
,
char
const
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
{
(
void
)
p_this
;
(
void
)
psz_var
;
(
void
)
oldval
;
event_thread_t
*
p_ev
=
p_data
;
event_thread_t
*
p_ev
=
p_data
;
vlc_mutex_lock
(
&
p_ev
->
lock
);
vlc_mutex_lock
(
&
p_ev
->
lock
);
p_ev
->
i_key_action
=
newval
.
i_int
;
p_ev
->
i_key_action
=
newval
.
i_int
;
...
@@ -1379,6 +1381,7 @@ static int EventKey( vlc_object_t *p_this, char const *psz_var,
...
@@ -1379,6 +1381,7 @@ static int EventKey( vlc_object_t *p_this, char const *psz_var,
*****************************************************************************/
*****************************************************************************/
static
int
ProbeDVD
(
demux_t
*
p_demux
,
char
*
psz_name
)
static
int
ProbeDVD
(
demux_t
*
p_demux
,
char
*
psz_name
)
{
{
(
void
)
p_demux
;
#ifdef HAVE_SYS_STAT_H
#ifdef HAVE_SYS_STAT_H
struct
stat
stat_info
;
struct
stat
stat_info
;
uint8_t
pi_anchor
[
2
];
uint8_t
pi_anchor
[
2
];
...
...
modules/access/v4l2/v4l2.c
View file @
9edf6943
...
@@ -1140,6 +1140,7 @@ static void DemuxClose( vlc_object_t *p_this )
...
@@ -1140,6 +1140,7 @@ static void DemuxClose( vlc_object_t *p_this )
static
void
CommonClose
(
vlc_object_t
*
p_this
,
demux_sys_t
*
p_sys
)
static
void
CommonClose
(
vlc_object_t
*
p_this
,
demux_sys_t
*
p_sys
)
{
{
(
void
)
p_this
;
/* Close */
/* Close */
if
(
p_sys
->
i_fd_video
>=
0
)
close
(
p_sys
->
i_fd_video
);
if
(
p_sys
->
i_fd_video
>=
0
)
close
(
p_sys
->
i_fd_video
);
#ifdef HAVE_ALSA
#ifdef HAVE_ALSA
...
@@ -3474,6 +3475,7 @@ static int DemuxControlCallback( vlc_object_t *p_this,
...
@@ -3474,6 +3475,7 @@ static int DemuxControlCallback( vlc_object_t *p_this,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
void
*
p_data
)
{
{
(
void
)
oldval
;
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
int
i_cid
=
(
int
)
p_data
;
int
i_cid
=
(
int
)
p_data
;
...
@@ -3489,9 +3491,9 @@ static int DemuxControlCallback( vlc_object_t *p_this,
...
@@ -3489,9 +3491,9 @@ static int DemuxControlCallback( vlc_object_t *p_this,
}
}
static
int
DemuxControlResetCallback
(
vlc_object_t
*
p_this
,
static
int
DemuxControlResetCallback
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
void
*
p_data
)
{
{
(
void
)
psz_var
;
(
void
)
oldval
;
(
void
)
newval
;
(
void
)
p_data
;
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
...
@@ -3509,6 +3511,7 @@ static int AccessControlCallback( vlc_object_t *p_this,
...
@@ -3509,6 +3511,7 @@ static int AccessControlCallback( vlc_object_t *p_this,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
void
*
p_data
)
{
{
(
void
)
oldval
;
access_t
*
p_access
=
(
access_t
*
)
p_this
;
access_t
*
p_access
=
(
access_t
*
)
p_this
;
demux_sys_t
*
p_sys
=
(
demux_sys_t
*
)
p_access
->
p_sys
;
demux_sys_t
*
p_sys
=
(
demux_sys_t
*
)
p_access
->
p_sys
;
int
i_cid
=
(
int
)
p_data
;
int
i_cid
=
(
int
)
p_data
;
...
@@ -3524,9 +3527,9 @@ static int AccessControlCallback( vlc_object_t *p_this,
...
@@ -3524,9 +3527,9 @@ static int AccessControlCallback( vlc_object_t *p_this,
}
}
static
int
AccessControlResetCallback
(
vlc_object_t
*
p_this
,
static
int
AccessControlResetCallback
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
void
*
p_data
)
{
{
(
void
)
psz_var
;
(
void
)
oldval
;
(
void
)
newval
;
(
void
)
p_data
;
access_t
*
p_access
=
(
access_t
*
)
p_this
;
access_t
*
p_access
=
(
access_t
*
)
p_this
;
demux_sys_t
*
p_sys
=
(
demux_sys_t
*
)
p_access
->
p_sys
;
demux_sys_t
*
p_sys
=
(
demux_sys_t
*
)
p_access
->
p_sys
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment