summaryrefslogtreecommitdiffstats
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-24 09:42:07 -0800
committerAndreas Gampe <agampe@google.com>2014-11-24 09:43:10 -0800
commita53c815323f828a71f739e31ca248c7b9cfc4771 (patch)
tree30166743cc06d4d86bc8569549cc5c6988382711 /libutils/Unicode.cpp
parent7f187c5f95d6bf0514e71e0e074768bd5395d45f (diff)
downloadsystem_core-a53c815323f828a71f739e31ca248c7b9cfc4771.zip
system_core-a53c815323f828a71f739e31ca248c7b9cfc4771.tar.gz
system_core-a53c815323f828a71f739e31ca248c7b9cfc4771.tar.bz2
Libutils: Comment out unused constants
For build-system CFLAGS clean-up, "remove" unused variables. Change-Id: Ic96f066981cd96ca16af81ee3fdbc972507e8c81
Diffstat (limited to 'libutils/Unicode.cpp')
-rw-r--r--libutils/Unicode.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libutils/Unicode.cpp b/libutils/Unicode.cpp
index d9334f7..fb876c9 100644
--- a/libutils/Unicode.cpp
+++ b/libutils/Unicode.cpp
@@ -40,8 +40,9 @@ static const char32_t kByteMark = 0x00000080;
// Surrogates aren't valid for UTF-32 characters, so define some
// constants that will let us screen them out.
static const char32_t kUnicodeSurrogateHighStart = 0x0000D800;
-static const char32_t kUnicodeSurrogateHighEnd = 0x0000DBFF;
-static const char32_t kUnicodeSurrogateLowStart = 0x0000DC00;
+// Unused, here for completeness:
+// static const char32_t kUnicodeSurrogateHighEnd = 0x0000DBFF;
+// static const char32_t kUnicodeSurrogateLowStart = 0x0000DC00;
static const char32_t kUnicodeSurrogateLowEnd = 0x0000DFFF;
static const char32_t kUnicodeSurrogateStart = kUnicodeSurrogateHighStart;
static const char32_t kUnicodeSurrogateEnd = kUnicodeSurrogateLowEnd;