From acbfb1d7a2d096e0aea6d398fca29e55af1f9b40 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 17 Jun 2015 11:59:58 +0000 Subject: Fix uninitialized variables warnings. From ISIHARA Takanori in PR 49980. --- pkgtools/url2pkg/Makefile | 6 ++---- pkgtools/url2pkg/files/url2pkg.pl | 4 +++- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pkgtools/url2pkg') diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index c4998b03c2f..3b4f168b44a 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,8 +1,6 @@ -# $NetBSD: Makefile,v 1.78 2015/06/12 10:50:56 wiz Exp $ -# +# $NetBSD: Makefile,v 1.79 2015/06/17 11:59:58 wiz Exp $ -PKGNAME= url2pkg-2.22 -PKGREVISION= 1 +PKGNAME= url2pkg-2.23 CATEGORIES= pkgtools MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl index 364860d4ada..0e320e2b0f8 100644 --- a/pkgtools/url2pkg/files/url2pkg.pl +++ b/pkgtools/url2pkg/files/url2pkg.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: url2pkg.pl,v 1.28 2015/04/07 00:10:33 rodent Exp $ +# $NetBSD: url2pkg.pl,v 1.29 2015/06/17 11:59:58 wiz Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -333,6 +333,8 @@ sub generate_initial_package($) { } else { die("$0: ERROR: Invalid GitHub URL: ${url}\n"); } + } else { + $gh_project = ""; $gh_release = ""; $dist_subdir = ""; } } -- cgit v1.2.3