[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 1/9] adhoc-revtuple-generator: Avoid an undefined variable warning



Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 adhoc-revtuple-generator |    1 +
 1 file changed, 1 insertion(+)

diff --git a/adhoc-revtuple-generator b/adhoc-revtuple-generator
index 4a2ec63..dbe4773 100755
--- a/adhoc-revtuple-generator
+++ b/adhoc-revtuple-generator
@@ -129,6 +129,7 @@ END
            m/^(\w+)\s(.*)$/ or die "$cmd: $_ ?";
            push @{ $r{$1} }, $2;
        }
+       $r{Parents} ||= [ ];
        die "$treename -" unless @{ $r{commit} } == 1;
        die "$treename -" unless @{ $r{committer} } == 1;
        die "$treename -" unless $r{committer}[0] =~ m/ (\d+)(?: [-+]\d{4})$/;
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.