diff options
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r-- | src/libexpr/parser.y | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y index e3f2f09b20bd..26168b2ed420 100644 --- a/src/libexpr/parser.y +++ b/src/libexpr/parser.y @@ -601,15 +601,6 @@ Expr * EvalState::parseExprFromString(const string & s, const Path & basePath) } -bool isUri(const string & s) -{ - size_t pos = s.find("://"); - if (pos == string::npos) return false; - string scheme(s, 0, pos); - return scheme == "http" || scheme == "https"; -} - - void EvalState::addToSearchPath(const string & s, bool warn) { size_t pos = s.find('='); |