Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d8da3832
Commit
d8da3832
authored
Jul 30, 2004
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/cmml/browser_open.c:
+ Fixed a compilation warning due to a missing return value.
parent
2ec46a08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
modules/codec/cmml/browser_open.c
modules/codec/cmml/browser_open.c
+11
-7
No files found.
modules/codec/cmml/browser_open.c
View file @
d8da3832
...
...
@@ -48,20 +48,24 @@ int browser_Open( const char *psz_url )
#else
/* Assume we're on a UNIX of some sort */
char
*
psz_open_commandline
;
int
i_ret
;
/* Debian uses www-browser */
psz_open_commandline
=
strdup
(
"www-browser"
);
xstrcat
(
psz_open_commandline
,
psz_url
);
i_ret
=
system
(
psz_open_commandline
);
if
(
system
(
psz_open_commandline
)
!
=
0
)
if
(
i_ret
=
=
0
)
{
free
(
psz_open_commandline
);
/* Try mozilla */
psz_open_commandline
=
strdup
(
"mozilla"
);
xstrcat
(
psz_open_commandline
,
psz_url
);
return
system
(
psz_open_commandline
);
return
0
;
}
free
(
psz_open_commandline
);
/* Try mozilla */
psz_open_commandline
=
strdup
(
"mozilla"
);
xstrcat
(
psz_open_commandline
,
psz_url
);
return
system
(
psz_open_commandline
);
#endif
}
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