Sophie

Sophie

distrib > Fedora > 13 > x86_64 > media > os-src > by-pkgid > db385ae3976068d849fc40d5d9bc31a3 > files > 2

ruby-taglib-1.1-3.fc12.src.rpm

#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_tag-undefined.dpatch by Lucas Nussbaum <lucas@lucas-nussbaum.net>
## 
## Initialize @tag and @audio to avoid a warning with ruby -w.
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad trunk~/lib/taglib.rb trunk/lib/taglib.rb
--- trunk~/lib/taglib.rb	2006-05-09 16:39:37.000000000 +0200
+++ trunk/lib/taglib.rb	2008-01-21 07:12:40.000000000 +0100
@@ -104,6 +104,9 @@
 			raise BadPath.new
 		end
 
+    @tag = nil
+    @audio = nil
+
 		if MAHORO_PRESENT
 			mahoro = Mahoro.new
 			mahoro.flags = Mahoro::NONE