aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-13 12:28:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-13 12:28:41 +0200
commitc8015cb75d7d3b3c499ec86b84d099c4c1ab942b (patch)
tree106fdc9557c69e67ed8abe01f0f695d418dd5ec8
parent2c8d60040be993115dcd5be69529527c7fca4ee4 (diff)
Release version 1.1.0-b.10+2HEADv1.1.0-b.10+2master
Fix -Wunused-but-set-variable Clang 15 warning.
-rw-r--r--examples/performance/driver.cxx7
-rw-r--r--manifest2
2 files changed, 8 insertions, 1 deletions
diff --git a/examples/performance/driver.cxx b/examples/performance/driver.cxx
index 238f5ad..67eb349 100644
--- a/examples/performance/driver.cxx
+++ b/examples/performance/driver.cxx
@@ -9,6 +9,9 @@
#include "time.hxx"
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace xml;
@@ -69,6 +72,8 @@ main (int argc, char* argv[])
break;
}
}
+
+ assert (start_count == end_count);
}
cerr << " elements: " << start_count << endl;
@@ -102,6 +107,8 @@ main (int argc, char* argv[])
break;
}
}
+
+ assert (start_count == end_count);
}
os::time end;
diff --git a/manifest b/manifest
index c274f35..4e2c859 100644
--- a/manifest
+++ b/manifest
@@ -1,6 +1,6 @@
: 1
name: libstudxml
-version: 1.1.0-b.10+1
+version: 1.1.0-b.10+2
summary: Streaming XML pull parser/serializer for modern C++
license: MIT
topics: C++, XML, XML parser, XML serializer