From ce78e25acc7c5f8bf4bb07ba4742bdbbd830c624 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 24 Dec 2025 18:17:39 +0900 Subject: [PATCH] Fix "statement not reached" warnings --- lib/rdoc/generator/template/aliki/_sidebar_pages.rhtml | 2 +- lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rdoc/generator/template/aliki/_sidebar_pages.rhtml b/lib/rdoc/generator/template/aliki/_sidebar_pages.rhtml index 2cb46ed517..94004ae7e1 100644 --- a/lib/rdoc/generator/template/aliki/_sidebar_pages.rhtml +++ b/lib/rdoc/generator/template/aliki/_sidebar_pages.rhtml @@ -35,7 +35,7 @@ <%= h f.page_name %> - <%- next %> + <%- next -%> <%- end %>
  • diff --git a/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml b/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml index d6e0650abc..1d93300124 100644 --- a/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +++ b/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml @@ -13,7 +13,7 @@ <%- f = files.shift %> <%- if files.empty? %>
  • <%= h f.page_name %>
  • - <%- next %> + <%- next -%> <%- end %>
  • ><% if n == f.page_name