Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
c9549a21
Commit
c9549a21
authored
Mar 03, 2008
by
Pierre
Browse files
text/unicode.c: More unused warning fix.
parent
7e5f8f84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/text/unicode.c
View file @
c9549a21
...
...
@@ -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
);
return
out
;
#else
VLC_UNUSED
(
from
);
return
(
char
*
)
string
;
#endif
}
...
...
@@ -171,6 +172,7 @@ static inline char *locale_dup (const char *string, vlc_bool_t from)
#elif defined (USE_MB2MB)
return
locale_fast
(
string
,
from
);
#else
VLC_UNUSED
(
from
);
return
strdup
(
string
);
#endif
}
...
...
@@ -183,6 +185,8 @@ void LocaleFree (const char *str)
free
((
char
*
)
str
);
#elif defined (USE_MB2MB)
free
((
char
*
)
str
);
#else
VLC_UNUSED
(
str
);
#endif
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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