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
bdb82782
Commit
bdb82782
authored
May 18, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Warning levels are no longer additive, patch courtesy of Arnaud de
Bossoreille de Ribou <bozo@via.ecp.fr>
parent
ac5c557f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/misc/configuration.c
src/misc/configuration.c
+5
-2
No files found.
src/misc/configuration.c
View file @
bdb82782
...
...
@@ -2,7 +2,7 @@
* configuration.c management of the modules configuration
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: configuration.c,v 1.2
4 2002/05/18 13:30:28 gbazin
Exp $
* $Id: configuration.c,v 1.2
5 2002/05/18 17:53:11 massiot
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -994,7 +994,10 @@ int config_LoadCmdLine( int *pi_argc, char *ppsz_argv[],
if
(
b_ignore_errors
)
free
(
ppsz_argv
);
/* Update the warning level */
p_main
->
i_warning_level
+=
config_GetIntVariable
(
"warning"
);
if
(
!
p_main
->
i_warning_level
)
{
p_main
->
i_warning_level
+=
config_GetIntVariable
(
"warning"
);
}
p_main
->
i_warning_level
=
(
p_main
->
i_warning_level
<
0
)
?
0
:
p_main
->
i_warning_level
;
config_PutIntVariable
(
"warning"
,
p_main
->
i_warning_level
);
...
...
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