Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
533af175
Commit
533af175
authored
Aug 04, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- pp_shortcuts is always true; do not check
- remove apparently harmful "continue" with an always true condition
parent
da2a148c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/libvlc-common.c
src/libvlc-common.c
+2
-4
No files found.
src/libvlc-common.c
View file @
533af175
...
@@ -1376,15 +1376,13 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
...
@@ -1376,15 +1376,13 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
if
(
psz_module_name
&&
strcmp
(
psz_module_name
,
if
(
psz_module_name
&&
strcmp
(
psz_module_name
,
p_parser
->
psz_object_name
)
)
p_parser
->
psz_object_name
)
)
{
{
const
char
**
pp_shortcut
=
p_parser
->
pp_shortcuts
;
const
char
*
const
*
pp_shortcut
=
p_parser
->
pp_shortcuts
;
while
(
*
pp_shortcut
)
while
(
*
pp_shortcut
)
{
{
if
(
!
strcmp
(
psz_module_name
,
*
pp_shortcut
)
)
if
(
!
strcmp
(
psz_module_name
,
*
pp_shortcut
)
)
break
;
break
;
pp_shortcut
++
;
pp_shortcut
++
;
}
}
if
(
!*
pp_shortcut
)
continue
;
}
}
/* Ignore modules without config options */
/* Ignore modules without config options */
...
@@ -1770,7 +1768,7 @@ static void ListModules( libvlc_int_t *p_this, vlc_bool_t b_verbose )
...
@@ -1770,7 +1768,7 @@ static void ListModules( libvlc_int_t *p_this, vlc_bool_t b_verbose )
if
(
b_verbose
)
if
(
b_verbose
)
{
{
const
char
**
pp_shortcut
=
p_parser
->
pp_shortcuts
;
const
char
**
pp_shortcut
=
p_parser
->
pp_shortcuts
;
while
(
pp_shortcut
&&
*
pp_shortcut
)
while
(
*
pp_shortcut
)
{
{
if
(
strcmp
(
*
pp_shortcut
,
p_parser
->
psz_object_name
)
)
if
(
strcmp
(
*
pp_shortcut
,
p_parser
->
psz_object_name
)
)
{
{
...
...
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