projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove `unsigned char v = static_cast<unsigned char>(v);`
[folly.git]
/
folly
/
String-inl.h
diff --git
a/folly/String-inl.h
b/folly/String-inl.h
index ff085713dbe7d767a2edb41e1e1454f485fa3482..1a4edb7d949aeb93c20ba29849a7371bd1aedc97 100644
(file)
--- a/
folly/String-inl.h
+++ b/
folly/String-inl.h
@@
-203,7
+203,6
@@
void uriUnescape(StringPiece str, String& out, UriEscapeMode mode) {
// this is faster than calling push_back repeatedly.
while (p != str.end()) {
char c = *p;
- unsigned char v = static_cast<unsigned char>(v);
switch (c) {
case '%':
{