Skip to content

Commit bcdd363

Browse files
Version v1.1.156
1 parent fc8dbce commit bcdd363

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Current
22

3+
# 1.1.156 (2023-05-08)
4+
35
## Security:
46
- See CVE-2023-27390. Check there are no "self" message.
57
- See CVE-2023-31194. Do not add twice an edge in the graph. This caused Boost

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
cmake_minimum_required (VERSION 3.15)
22

3-
set(git_version 148)
3+
set(git_version 156) # Obtained with `git rev-list --count HEAD`
44
project(Diagon
55
LANGUAGES C CXX
6-
VERSION 1.0.${git_version}
6+
VERSION 1.1.${git_version}
77
)
88

99
option(DIAGON_BUILD_TESTS "Set to ON to build tests" OFF)

src/translator/graph_planar/GraphPlanar.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ void GraphPlanar::Write() {
355355
// Create the planar embedding
356356
auto embedding_storage = EdgePermutationStorage(num_vertices);
357357
auto embedding = EdgePermutation(embedding_storage.begin(), vertex_index);
358-
const bool is_planar = PlanarEmbedding(graph, embedding_storage, embedding);
359-
if (!is_planar) {
358+
const bool is_planar_1 = PlanarEmbedding(graph, embedding_storage, embedding);
359+
if (!is_planar_1) {
360360
output_ = "Graph is not planar.\n";
361361
return;
362362
}
@@ -367,6 +367,7 @@ void GraphPlanar::Write() {
367367
graph, embedding, boost::get(boost::edge_index, graph), edge_updater);
368368
const bool is_planar_2 = PlanarEmbedding(graph, embedding_storage, embedding);
369369
assert(is_planar_2);
370+
std::ignore = is_planar_2;
370371

371372
// After executing `make_maximal_planar` edges are added to the graph, so
372373
// we must update the indexes and the embedding.
@@ -375,6 +376,7 @@ void GraphPlanar::Write() {
375376
edge_updater);
376377
const bool is_planar_3 = PlanarEmbedding(graph, embedding_storage, embedding);
377378
assert(is_planar_3);
379+
std::ignore = is_planar_3;
378380

379381
// Find a canonical ordering.
380382
std::vector<size_t> ordering;

0 commit comments

Comments
 (0)