Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
2b3d6461
Unverified
Commit
2b3d6461
authored
Mar 12, 2020
by
Rosen Penev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused ctype.h header
None of the functions in these files come from ctype.h Also changed one instance of isdigit to the C++ variant. Signed-off-by:
Rosen Penev
<
rosenp@gmail.com
>
parent
ab9f5d20
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
CaseFold.cxx
src/lib/icu/CaseFold.cxx
+0
-1
Collate.cxx
src/lib/icu/Collate.cxx
+0
-1
OSXOutputPlugin.cxx
src/output/plugins/OSXOutputPlugin.cxx
+1
-1
No files found.
src/lib/icu/CaseFold.cxx
View file @
2b3d6461
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
#include <unicode/ustring.h>
#include <unicode/ustring.h>
#else
#else
#include <algorithm>
#include <algorithm>
#include <ctype.h>
#endif
#endif
#ifdef _WIN32
#ifdef _WIN32
...
...
src/lib/icu/Collate.cxx
View file @
2b3d6461
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include <unicode/ustring.h>
#include <unicode/ustring.h>
#else
#else
#include <algorithm>
#include <algorithm>
#include <ctype.h>
#endif
#endif
#ifdef _WIN32
#ifdef _WIN32
...
...
src/output/plugins/OSXOutputPlugin.cxx
View file @
2b3d6461
...
@@ -266,7 +266,7 @@ osx_output_parse_channel_map(const char *device_name,
...
@@ -266,7 +266,7 @@ osx_output_parse_channel_map(const char *device_name,
}
}
if
(
want_number
&&
if
(
want_number
&&
(
isdigit
(
*
channel_map_str
)
||
*
channel_map_str
==
'-'
)
(
std
::
isdigit
(
*
channel_map_str
)
||
*
channel_map_str
==
'-'
)
)
{
)
{
channel_map
[
inserted_channels
]
=
strtol
(
channel_map_str
,
&
endptr
,
10
);
channel_map
[
inserted_channels
]
=
strtol
(
channel_map_str
,
&
endptr
,
10
);
if
(
channel_map
[
inserted_channels
]
<
-
1
)
if
(
channel_map
[
inserted_channels
]
<
-
1
)
...
...
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