olddoc user/dev discussion/patches/bugs/etc
 help / color / mirror / code / Atom feed
* [PATCH] news_rdoc: fix unused variable warning
@ 2017-01-22 21:33 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2017-01-22 21:33 UTC (permalink / raw)
  To: olddoc-public

Found via "make check-warnings"
---
 lib/olddoc/news_rdoc.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/olddoc/news_rdoc.rb b/lib/olddoc/news_rdoc.rb
index 2427591..bd712fb 100644
--- a/lib/olddoc/news_rdoc.rb
+++ b/lib/olddoc/news_rdoc.rb
@@ -12,7 +12,6 @@ module Olddoc::NewsRdoc # :nodoc:
     fp.puts "=== #{tag[:subject]} / #{time}"
     fp.puts ""
 
-    body = tag[:body]
     fp.puts tag[:body].gsub(/^/smu, "  ").gsub(/[ \t]+$/smu, "")
     fp.puts ""
   end
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-22 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-22 21:33 [PATCH] news_rdoc: fix unused variable warning Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/olddoc.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).