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
5aeefb99
Commit
5aeefb99
authored
Oct 15, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unneed warnings.
parent
ec8639f0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
13 deletions
+0
-13
modules/gui/skins2/src/dialogs.cpp
modules/gui/skins2/src/dialogs.cpp
+0
-3
modules/gui/skins2/src/ft2_font.cpp
modules/gui/skins2/src/ft2_font.cpp
+0
-4
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/skin_main.cpp
+0
-3
modules/gui/skins2/src/theme_loader.cpp
modules/gui/skins2/src/theme_loader.cpp
+0
-3
No files found.
modules/gui/skins2/src/dialogs.cpp
View file @
5aeefb99
...
...
@@ -161,10 +161,7 @@ bool Dialogs::init()
m_pProvider
=
(
intf_thread_t
*
)
vlc_object_create
(
getIntf
(),
sizeof
(
intf_thread_t
)
);
if
(
m_pProvider
==
NULL
)
{
msg_Err
(
getIntf
(),
"out of memory"
);
return
false
;
}
m_pModule
=
module_need
(
m_pProvider
,
"dialogs provider"
,
NULL
,
0
);
if
(
m_pModule
==
NULL
)
...
...
modules/gui/skins2/src/ft2_font.cpp
View file @
5aeefb99
...
...
@@ -87,11 +87,7 @@ bool FT2Font::init()
// Allocate the buffer
m_buffer
=
malloc
(
size
);
if
(
!
m_buffer
)
{
msg_Err
(
getIntf
(),
"not enough memory for the font %s"
,
m_name
.
c_str
()
);
return
false
;
}
// Read the font data
fread
(
m_buffer
,
size
,
1
,
file
);
fclose
(
file
);
...
...
modules/gui/skins2/src/skin_main.cpp
View file @
5aeefb99
...
...
@@ -88,10 +88,7 @@ static int Open( vlc_object_t *p_this )
// Allocate instance and initialize some members
p_intf
->
p_sys
=
(
intf_sys_t
*
)
malloc
(
sizeof
(
intf_sys_t
)
);
if
(
p_intf
->
p_sys
==
NULL
)
{
msg_Err
(
p_intf
,
"out of memory"
);
return
(
VLC_ENOMEM
);
};
p_intf
->
pf_run
=
Run
;
...
...
modules/gui/skins2/src/theme_loader.cpp
View file @
5aeefb99
...
...
@@ -217,10 +217,7 @@ bool ThemeLoader::extractFileInZip( unzFile file, const string &rootDir )
// Allocate the buffer
void
*
pBuffer
=
malloc
(
ZIP_BUFFER_SIZE
);
if
(
!
pBuffer
)
{
msg_Err
(
getIntf
(),
"failed to allocate memory"
);
return
false
;
}
// Get the path of the file
OSFactory
*
pOsFactory
=
OSFactory
::
instance
(
getIntf
()
);
...
...
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