commit 1f83a420deff4ed49d62e2c309fc260325a9e9c7
parent dbb6f2315ae7820564b7fe94fa71720b85f7d112
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 11 Dec 2017 18:42:04 -0500
mark a lambda capture as used for clang v5's Wunused-lambda-capture warning
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/path.cpp b/src/path.cpp
@@ -53,6 +53,8 @@ static vector<string> Split(const string &input, bool *absolute)
#ifdef _WIN32
if(list.empty() && part.size() == 2 && isalpha(part[0]) && part[1] == ':')
*absolute = true;
+#else
+ (void)absolute;
#endif
list.push_back(part);