From d52e6489aa220e5155639597eb2753dec6c9223c Mon Sep 17 00:00:00 2001 From: "Gustavo L. de M. Chaves" Date: Wed, 1 Aug 2012 12:19:14 -0300 Subject: [PATCH] Avoid warnings while printing uninitialized keys --- bin/git-log-jiras.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/git-log-jiras.pl b/bin/git-log-jiras.pl index ca89496..2d84492 100755 --- a/bin/git-log-jiras.pl +++ b/bin/git-log-jiras.pl @@ -105,6 +105,7 @@ warn "WARN: cannot get issue '$key': $@\n"; next; } + no warnings; # avoid warnings for uninitialized keys say '"', join('","' => @{$issue}{qw/key assignee summary/}), '"'; } } else {