From 4929ef35b8842ac1615c20baeae474425241f84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 3 Jul 2026 15:52:48 +0200 Subject: [PATCH 1/2] chore: rm modifs of variable not used in logic branch --- R/print.R | 6 ------ 1 file changed, 6 deletions(-) diff --git a/R/print.R b/R/print.R index 1a424b01842..3c74df250ae 100644 --- a/R/print.R +++ b/R/print.R @@ -643,12 +643,6 @@ print_igraph_legacy <- function( ) { head_lines <- .print.header(x, id) if (is.logical(full) && full) { - if (graph.attributes) { - head_lines <- head_lines + .print.graph.attributes(x, full, max.lines) - } - if (vertex.attributes) { - head_lines <- head_lines + .print.vertex.attributes(x, full, max.lines) - } if (ecount(x) == 0) { ## Do nothing } else if (edge.attributes && length(edge_attr_names(x)) != 0) { From 7289e95a365d5f4a48d95bd8dc62fa2c3d3d6839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 3 Jul 2026 15:53:13 +0200 Subject: [PATCH 2/2] chore: rm unused variable --- R/print.R | 1 - 1 file changed, 1 deletion(-) diff --git a/R/print.R b/R/print.R index 3c74df250ae..71b46f9805a 100644 --- a/R/print.R +++ b/R/print.R @@ -373,7 +373,6 @@ print_edge_detail <- function(graph, edges) { if (!is.null(x)) { arrow <- c("--", "->")[is_directed(x) + 1] - can_max <- NA el <- NA fun <- function(q, no) {