Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e0618b18
Commit
e0618b18
authored
Sep 18, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: fix shadowing
parent
8c4a9893
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/config/core.c
src/config/core.c
+3
-3
No files found.
src/config/core.c
View file @
e0618b18
...
@@ -564,11 +564,11 @@ module_config_t *config_FindConfig (vlc_object_t *p_this, const char *name)
...
@@ -564,11 +564,11 @@ module_config_t *config_FindConfig (vlc_object_t *p_this, const char *name)
* \param config start of array of items
* \param config start of array of items
* \param confsize number of items in the array
* \param confsize number of items in the array
*/
*/
void
config_Free
(
module_config_t
*
config
,
size_t
confsize
)
void
config_Free
(
module_config_t
*
tab
,
size_t
confsize
)
{
{
for
(
size_t
j
=
0
;
j
<
confsize
;
j
++
)
for
(
size_t
j
=
0
;
j
<
confsize
;
j
++
)
{
{
module_config_t
*
p_item
=
config
+
j
;
module_config_t
*
p_item
=
&
tab
[
j
]
;
free
(
p_item
->
psz_type
);
free
(
p_item
->
psz_type
);
free
(
p_item
->
psz_name
);
free
(
p_item
->
psz_name
);
...
@@ -598,7 +598,7 @@ void config_Free (module_config_t *config, size_t confsize)
...
@@ -598,7 +598,7 @@ void config_Free (module_config_t *config, size_t confsize)
free
(
p_item
->
list_text
);
free
(
p_item
->
list_text
);
}
}
free
(
config
);
free
(
tab
);
}
}
#undef config_ResetAll
#undef config_ResetAll
...
...
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