Francois Gouget : winapi: Small tweaks to fix perl warnings.
Alexandre Julliard
julliard at winehq.org
Fri Sep 20 14:21:30 CDT 2013
Module: wine
Branch: master
Commit: 3b5fb27f914bedbf06d95b57be34a9ab7e706b88
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3b5fb27f914bedbf06d95b57be34a9ab7e706b88
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Sep 20 11:49:34 2013 +0200
winapi: Small tweaks to fix perl warnings.
perl says defined(@array) is deprecated.
---
tools/winapi/options.pm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/winapi/options.pm b/tools/winapi/options.pm
index 749b9b7..3daeb11 100644
--- a/tools/winapi/options.pm
+++ b/tools/winapi/options.pm
@@ -414,7 +414,7 @@ sub c_files($) {
my $c_files = \@{$self->{_C_FILES}};
- if(!defined(@$c_files)) {
+ if(!@$c_files) {
$self->parse_files;
}
@@ -426,7 +426,7 @@ sub h_files($) {
my $h_files = \@{$self->{_H_FILES}};
- if(!defined(@$h_files)) {
+ if(!@$h_files) {
$self->parse_files;
}
@@ -438,7 +438,7 @@ sub directories($) {
my $directories = \@{$self->{_DIRECTORIES}};
- if(!defined(@$directories)) {
+ if(!@$directories) {
$self->parse_files;
}
More information about the wine-cvs
mailing list