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
a08afde8
Commit
a08afde8
authored
Nov 13, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some warnings
parent
14532988
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/libvlc-common.c
src/libvlc-common.c
+8
-8
No files found.
src/libvlc-common.c
View file @
a08afde8
...
@@ -1205,8 +1205,8 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
...
@@ -1205,8 +1205,8 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
p_item
++
)
p_item
++
)
{
{
char
*
psz_text
,
*
psz_spaces
=
psz_spaces_text
;
char
*
psz_text
,
*
psz_spaces
=
psz_spaces_text
;
char
*
psz_bra
=
NULL
,
*
psz_type
=
NULL
,
*
psz_ket
=
NULL
;
c
onst
c
har
*
psz_bra
=
NULL
,
*
psz_type
=
NULL
,
*
psz_ket
=
NULL
;
char
*
psz_suf
=
""
,
*
psz_prefix
=
NULL
;
c
onst
c
har
*
psz_suf
=
""
,
*
psz_prefix
=
NULL
;
signed
int
i
;
signed
int
i
;
/* Skip deprecated options */
/* Skip deprecated options */
...
@@ -1243,11 +1243,11 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
...
@@ -1243,11 +1243,11 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
{
{
psz_bra
=
OPTION_VALUE_SEP
"{"
;
psz_bra
=
OPTION_VALUE_SEP
"{"
;
psz_type
=
psz_buffer
;
psz_type
=
psz_buffer
;
psz_
type
[
0
]
=
'\0'
;
psz_
buffer
[
0
]
=
'\0'
;
for
(
i
=
0
;
p_item
->
ppsz_list
[
i
];
i
++
)
for
(
i
=
0
;
p_item
->
ppsz_list
[
i
];
i
++
)
{
{
if
(
i
)
strcat
(
psz_
type
,
","
);
if
(
i
)
strcat
(
psz_
buffer
,
","
);
strcat
(
psz_
type
,
p_item
->
ppsz_list
[
i
]
);
strcat
(
psz_
buffer
,
p_item
->
ppsz_list
[
i
]
);
}
}
psz_ket
=
"}"
;
psz_ket
=
"}"
;
}
}
...
@@ -1262,11 +1262,11 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
...
@@ -1262,11 +1262,11 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
{
{
psz_bra
=
OPTION_VALUE_SEP
"{"
;
psz_bra
=
OPTION_VALUE_SEP
"{"
;
psz_type
=
psz_buffer
;
psz_type
=
psz_buffer
;
psz_
type
[
0
]
=
'\0'
;
psz_
buffer
[
0
]
=
'\0'
;
for
(
i
=
0
;
p_item
->
ppsz_list_text
[
i
];
i
++
)
for
(
i
=
0
;
p_item
->
ppsz_list_text
[
i
];
i
++
)
{
{
if
(
i
)
strcat
(
psz_
type
,
", "
);
if
(
i
)
strcat
(
psz_
buffer
,
", "
);
sprintf
(
psz_
type
+
strlen
(
psz_type
),
"%i (%s)"
,
sprintf
(
psz_
buffer
+
strlen
(
psz_buffer
),
"%i (%s)"
,
p_item
->
pi_list
[
i
],
p_item
->
pi_list
[
i
],
p_item
->
ppsz_list_text
[
i
]
);
p_item
->
ppsz_list_text
[
i
]
);
}
}
...
...
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