[Codestriker-commits] CVS update: codestriker/lib/Codestriker/Repository Subversion.pm Cvs.pm
Brought to you by:
sits
|
From: <si...@us...> - 2008-08-03 01:59:57
|
User: sits
Date: 08/08/02 18:59:55
Modified: lib/Codestriker/Repository Subversion.pm Cvs.pm
Log:
Fixed up some uninitialised warnings - from cle...@us....
Index: Subversion.pm
===================================================================
RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/Repository/Subversion.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Subversion.pm 11 Jul 2008 23:12:50 -0000 1.22
+++ Subversion.pm 3 Aug 2008 01:59:55 -0000 1.23
@@ -63,7 +63,7 @@
# Sanitise the filename.
$filename = sanitise_url_component($filename);
- my $read_data;
+ my $read_data = '';
my $read_stdout_fh = new FileHandle;
open($read_stdout_fh, '>', \$read_data);
my @args = ();
@@ -192,7 +192,7 @@
}
# Execute the diff command.
- my $read_stdout_data;
+ my $read_stdout_data = '';
my $read_stdout_fh = new FileHandle;
open($read_stdout_fh, '>', \$read_stdout_data);
Index: Cvs.pm
===================================================================
RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/Repository/Cvs.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Cvs.pm 5 Jul 2008 04:06:54 -0000 1.10
+++ Cvs.pm 3 Aug 2008 01:59:55 -0000 1.11
@@ -77,7 +77,7 @@
# Open a pipe to the CVS repository.
$ENV{'CVS_RSH'} = $Codestriker::ssh if defined $Codestriker::ssh;
- my $read_data;
+ my $read_data = '';
my $read_stdout_fh = new FileHandle;
open($read_stdout_fh, '>', \$read_data);
my @args = ();
|