Skip to content

Commit

Permalink
fix uninitialised warning
Browse files Browse the repository at this point in the history
--HG--
extra : convert_revision : svn%3Aec020cd8-820c-41dc-a724-4838206f7038/trunk%40971
  • Loading branch information
dod38fr committed Jun 1, 2009
1 parent d494e52 commit b1a3b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion t/augeas_backend.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# test augeas backend

# workaround Augeas locale bug
if ($ENV{LC_ALL} ne 'C' or $ENV{LANG} ne 'C') {
if (not defined $ENV{LC_ALL} or $ENV{LC_ALL} ne 'C' or $ENV{LANG} ne 'C') {
$ENV{LC_ALL} = $ENV{LANG} = 'C';
exec("perl $0 @ARGV");
}
Expand Down
2 changes: 1 addition & 1 deletion t/augeas_from_scratch.t
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use strict;
use vars qw/$model/;

# workaround Augeas locale bug
if ($ENV{LC_ALL} ne 'C' or $ENV{LANG} ne 'C') {
if (not defined $ENV{LC_ALL} or $ENV{LC_ALL} ne 'C' or $ENV{LANG} ne 'C') {
$ENV{LC_ALL} = $ENV{LANG} = 'C';
exec("perl $0 @ARGV");
}
Expand Down

0 comments on commit b1a3b8d

Please sign in to comment.