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
3371c10f
Commit
3371c10f
authored
Dec 18, 2005
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unusefull variable and test
parent
bff09042
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
src/misc/modules.c
src/misc/modules.c
+4
-10
No files found.
src/misc/modules.c
View file @
3371c10f
...
...
@@ -2124,17 +2124,11 @@ void CacheSaveConfig( module_t *p_module, FILE *file )
static
char
*
CacheName
(
void
)
{
static
char
psz_cachename
[
32
];
static
vlc_bool_t
b_initialised
=
VLC_FALSE
;
if
(
!
b_initialised
)
{
/* Code int size, pointer size and endianness in the filename */
int32_t
x
=
0xbe00001e
;
sprintf
(
psz_cachename
,
"plugins-%.2x%.2x%.2x.dat"
,
sizeof
(
int
),
sizeof
(
void
*
),
(
unsigned
int
)((
unsigned
char
*
)
&
x
)[
0
]
);
b_initialised
=
VLC_TRUE
;
}
/* Code int size, pointer size and endianness in the filename */
int32_t
x
=
0xbe00001e
;
sprintf
(
psz_cachename
,
"plugins-%.2x%.2x%.2x.dat"
,
sizeof
(
int
),
sizeof
(
void
*
),
(
unsigned
int
)((
unsigned
char
*
)
&
x
)[
0
]
);
return
psz_cachename
;
}
...
...
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