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
c9549a21
Commit
c9549a21
authored
Mar 03, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
text/unicode.c: More unused warning fix.
parent
7e5f8f84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/text/unicode.c
src/text/unicode.c
+4
-0
No files found.
src/text/unicode.c
View file @
c9549a21
...
@@ -157,6 +157,7 @@ static char *locale_fast (const char *string, vlc_bool_t from)
...
@@ -157,6 +157,7 @@ static char *locale_fast (const char *string, vlc_bool_t from)
WideCharToMultiByte
(
from
?
CP_UTF8
:
CP_ACP
,
0
,
wide
,
-
1
,
out
,
len
,
NULL
,
NULL
);
WideCharToMultiByte
(
from
?
CP_UTF8
:
CP_ACP
,
0
,
wide
,
-
1
,
out
,
len
,
NULL
,
NULL
);
return
out
;
return
out
;
#else
#else
VLC_UNUSED
(
from
);
return
(
char
*
)
string
;
return
(
char
*
)
string
;
#endif
#endif
}
}
...
@@ -171,6 +172,7 @@ static inline char *locale_dup (const char *string, vlc_bool_t from)
...
@@ -171,6 +172,7 @@ static inline char *locale_dup (const char *string, vlc_bool_t from)
#elif defined (USE_MB2MB)
#elif defined (USE_MB2MB)
return
locale_fast
(
string
,
from
);
return
locale_fast
(
string
,
from
);
#else
#else
VLC_UNUSED
(
from
);
return
strdup
(
string
);
return
strdup
(
string
);
#endif
#endif
}
}
...
@@ -183,6 +185,8 @@ void LocaleFree (const char *str)
...
@@ -183,6 +185,8 @@ void LocaleFree (const char *str)
free
((
char
*
)
str
);
free
((
char
*
)
str
);
#elif defined (USE_MB2MB)
#elif defined (USE_MB2MB)
free
((
char
*
)
str
);
free
((
char
*
)
str
);
#else
VLC_UNUSED
(
str
);
#endif
#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