@matheusbsbs / matheus-bagliano / commits / 42217f13ef
Fork 0

cvsserver: suppress warnings

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>

Johannes Schindelin committed Jul 25, 2006 at 12:48 UTC 42217f13efcfd7901636877f020de246d6c58838
1 file changed +1 -1
git-cvsserver.perl
+1 -1
@@ -81,7 +81,7 @@ my $methods = {
81
82 # $state holds all the bits of information the clients sends us that could
83 # potentially be useful when it comes to actually _doing_ something.
84 -my $state = {};
84 +my $state = { prependdir => '' };
85 $log->info("--------------- STARTING -----------------");
86
87 my $TEMP_DIR = tempdir( CLEANUP => 1 );