summaryrefslogtreecommitdiff
path: root/external/liborcus/unused-variables.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'external/liborcus/unused-variables.patch.1')
-rw-r--r--external/liborcus/unused-variables.patch.124
1 files changed, 24 insertions, 0 deletions
diff --git a/external/liborcus/unused-variables.patch.1 b/external/liborcus/unused-variables.patch.1
new file mode 100644
index 000000000000..77b88fae288c
--- /dev/null
+++ b/external/liborcus/unused-variables.patch.1
@@ -0,0 +1,24 @@
+From 5fccafa297ce2439ee850e13ccbeea3edb1750af Mon Sep 17 00:00:00 2001
+From: Kohei Yoshida <kohei.yoshida@gmail.com>
+Date: Tue, 2 Nov 2021 20:42:45 -0400
+Subject: [PATCH] Unused variables.
+
+---
+ include/orcus/sax_parser.hpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/include/orcus/sax_parser.hpp b/include/orcus/sax_parser.hpp
+index 24b1e8ea..15e8d917 100644
+--- a/include/orcus/sax_parser.hpp
++++ b/include/orcus/sax_parser.hpp
+@@ -539,7 +539,6 @@ template<typename _Handler, typename _Config>
+ void sax_parser<_Handler,_Config>::attribute()
+ {
+ sax::parser_attribute attr;
+- std::string_view attr_ns_name, attr_name, attr_value;
+ attribute_name(attr.ns, attr.name);
+
+ #if ORCUS_DEBUG_SAX_PARSER
+--
+2.25.1
+