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
ab8abe82
Commit
ab8abe82
authored
Sep 10, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics, fix a few warnings, add a few memleaks (but we don't care do we?)
parent
31e11ead
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
extras/zsh.cpp
extras/zsh.cpp
+15
-15
No files found.
extras/zsh.cpp
View file @
ab8abe82
...
...
@@ -197,7 +197,7 @@ void PrintModuleList( libvlc_int_t *p_libvlc, mmap &mods, mcmap &mods2 )
void
ParseOption
(
module_config_t
*
p_item
,
mmap
&
mods
,
mcmap
&
mods2
)
{
char
*
psz_arguments
=
""
;
char
*
psz_arguments
=
strdup
(
""
)
;
char
*
psz_exclusive
;
char
*
psz_option
;
char
*
psz_name
;
...
...
@@ -292,10 +292,10 @@ void ParseOption( module_config_t *p_item, mmap &mods, mcmap &mods2 )
break
;
case
CONFIG_ITEM_FILE
:
psz_arguments
=
"_files"
;
psz_arguments
=
strdup
(
"_files"
)
;
break
;
case
CONFIG_ITEM_DIRECTORY
:
psz_arguments
=
"_files -/"
;
psz_arguments
=
strdup
(
"_files -/"
)
;
break
;
case
CONFIG_ITEM_INTEGER
:
...
...
@@ -421,7 +421,7 @@ void PrintOption( char *psz_option, char i_short, char *psz_exclusive,
strchr
(
psz_longtext
,
'('
)
)
psz_longtext
=
psz_text
;
if
(
i_short
)
{
if
(
!
psz_exclusive
)
psz_exclusive
=
""
;
if
(
!
psz_exclusive
)
psz_exclusive
=
strdup
(
""
)
;
else
asprintf
(
&
psz_exclusive
,
" %s"
,
psz_exclusive
);
printf
(
"
\"
(-%c%s)--%s%s[%s]"
,
i_short
,
psz_exclusive
,
psz_option
,
psz_args
?
"="
:
""
,
psz_text
);
...
...
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