From 785207385f27d0c9ed8cec938fa5b61bfd5e0c9e Mon Sep 17 00:00:00 2001 From: dcoudert Date: Sat, 15 Jan 2022 18:04:59 +0100 Subject: [PATCH] trac #33174: remove unreachable code --- src/sage/graphs/base/c_graph.pyx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/sage/graphs/base/c_graph.pyx b/src/sage/graphs/base/c_graph.pyx index 47f3465b3f5..2bf83ab294e 100644 --- a/src/sage/graphs/base/c_graph.pyx +++ b/src/sage/graphs/base/c_graph.pyx @@ -2600,12 +2600,6 @@ cdef class CGraphBackend(GenericGraphBackend): and an arc label. """ raise NotImplementedError - cdef int l_int - if l is None: - l_int = 0 - else: - l_int = self.new_edge_label(l) - return self.cg().has_arc_unsafe(u_int, v_int, l_int) cdef int free_edge_label(self, int l_int) except -1: raise NotImplementedError()