bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] announce-gen: avoid perl warnings


From: Assaf Gordon
Subject: [PATCH] announce-gen: avoid perl warnings
Date: Wed, 09 Jul 2014 19:26:26 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hello,

When running "./build-aux/announce-gen" without any parameters, there are three "use 
of uninitialized value" warnings:
====
$ ./build-aux/announce-gen
announce-gen: release type not specified
announce-gen: package name not specified
announce-gen: previous version string not specified
announce-gen: current version string not specified
announce-gen: GnuPG key ID not specified
announce-gen: URL directory name(s) not specified
announce-gen: Use of uninitialized value $bootstrap_tools in split at 
./build-aux/announce-gen line 419.
announce-gen: Use of uninitialized value $release_type in exists at 
./build-aux/announce-gen line 426.
announce-gen: Use of uninitialized value $release_type in concatenation (.) or 
string at ./build-aux/announce-gen line 426.
announce-gen: '': invalid release type
Try 'announce-gen --help' for more information.
====

The attached patch avoids them.

Regards,
 -gordon

Attachment: announce_uninitialized_variable.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]