summaryrefslogtreecommitdiff
path: root/src/config_diff.ml
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2026-01-02 14:45:28 -0600
committerJohn Estabrook <jestabro@vyos.io>2026-02-06 14:42:47 -0600
commit03799d0a93e4a7eb5790836f50cb4a1188c360b6 (patch)
treefb2e81cf138d53f65e0af6ca8ef2d1f492eecd8c /src/config_diff.ml
parent6cf3918875b11dd94f9dc380b4083cc4258da74c (diff)
downloadvyos1x-config-03799d0a93e4a7eb5790836f50cb4a1188c360b6.tar.gz
vyos1x-config-03799d0a93e4a7eb5790836f50cb4a1188c360b6.zip
T8232: simplify return value of fold_tree_with_path
The details do not need to be exposed in the function signature.
Diffstat (limited to 'src/config_diff.ml')
-rw-r--r--src/config_diff.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_diff.ml b/src/config_diff.ml
index 54f6474..5d71c34 100644
--- a/src/config_diff.ml
+++ b/src/config_diff.ml
@@ -330,7 +330,7 @@ let get_tagged_delete_tree dt =
else
(p, a)
in
- snd (Vytree.fold_tree_with_path f ([], del_tree) del_tree)
+ Vytree.fold_tree_with_path f ([], del_tree) del_tree
(* the following builds a diff_func to return a unified diff string of