From 145ac0b6677a480e0a90b9870d8f6042d7cca9c7 Mon Sep 17 00:00:00 2001
From: Richard Walters <rwalters@digitalstirling.com>
Date: Wed, 5 Sep 2018 23:13:57 -0700
Subject: Fix compiler warnings found by compiling on Mac

---
 src/Uri.cpp | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src')

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,
-- 
cgit v1.2.3