Code

cvsserver: suppress warnings
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 25 Jul 2006 10:48:52 +0000 (12:48 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 25 Jul 2006 21:09:21 +0000 (14:09 -0700)
This patch defines $state->{prependdir} as the empty string, so that
quite a few warnings are avoided.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsserver.perl

index c30ef7042751034c5efbc4c2752e5badc69d4f4e..4bfca1f93cd360907890f81964025f6035ebc7c4 100755 (executable)
@@ -81,7 +81,7 @@ my $methods = {
 
 # $state holds all the bits of information the clients sends us that could
 # potentially be useful when it comes to actually _doing_ something.
-my $state = {};
+my $state = { prependdir => '' };
 $log->info("--------------- STARTING -----------------");
 
 my $TEMP_DIR = tempdir( CLEANUP => 1 );