User: sits
Date: 08/08/02 18:59:55
Modified: lib/Codestriker/Repository Subversion.pm Cvs.pm
Log:
Fixed up some uninitialised warnings - from [EMAIL PROTECTED]
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 = ();
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits