From cfee61a90842bcd0af9559232aac861aa0bc0425 Mon Sep 17 00:00:00 2001 From: Larry Gritz Date: Tue, 19 Jan 2021 15:39:28 -0800 Subject: [PATCH] Remove unused variable that was warning (#1325) --- src/liboslquery/oslquery.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/liboslquery/oslquery.cpp b/src/liboslquery/oslquery.cpp index 1ceb8feca..8de10a9f5 100644 --- a/src/liboslquery/oslquery.cpp +++ b/src/liboslquery/oslquery.cpp @@ -252,7 +252,6 @@ OSOReaderQuery::hint(string_view hintstring) } if (m_reading_param && Strutil::parse_prefix(hintstring, "structfields{")) { OSLQuery::Parameter& param(m_query.m_params[m_query.nparams() - 1]); - string_view ident; while (1) { string_view ident = Strutil::parse_identifier(hintstring); if (ident.length()) {