diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2018-09-05 23:13:57 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2018-09-05 23:13:57 -0700 |
commit | 145ac0b6677a480e0a90b9870d8f6042d7cca9c7 (patch) | |
tree | daffdcc5533f338eeb1afd76a9b8e7ca54d76f92 | |
parent | 83bd97261c6f74433c697aa3c4f15216695411d3 (diff) |
Fix compiler warnings found by compiling on Mac
-rw-r--r-- | src/Uri.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Uri.cpp b/src/Uri.cpp index 143b06b..51d14f4 100644 --- a/src/Uri.cpp +++ b/src/Uri.cpp @@ -724,7 +724,6 @@ namespace Uri { // Next, parsing host and port from authority and path. std::string portString; HostParsingState hostParsingState = HostParsingState::FIRST_CHARACTER; - int decodedCharacter = 0; host.clear(); PercentEncodedCharacterDecoder pecDecoder; bool hostIsRegName = false; @@ -893,7 +892,6 @@ namespace Uri { rest = uriString; } else { scheme = uriString.substr(0, schemeEnd); - bool isFirstCharacter = true; if ( FailsMatch( scheme, |