# [PATCH 2/2] Avoid generating a warning if $fullname{$file} is undefined

1 messages from 2009-07-06 to 2009-07-06. Participants: Nick Woolley.
Thread: https://gitlist.dev/t/20035

## Nick Woolley, 2009-07-06 13:33

Subject: [PATCH 2/2] Avoid generating a warning if $fullname{$file} is undefined
Message-ID: <4A51FD39.4080402@noodlefactory.co.uk>
URL: https://gitlist.dev/e/4A51FD39.4080402%40noodlefactory.co.uk

```
Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk>
---
 git-cvsexportcommit.perl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index d509468..59b6722 100755
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
@@ -259,7 +259,8 @@ if (@canstatusfiles) {
 	    if $file =~ /^no file /
 		&& $status eq 'Up-to-date';

-	$cvsstat{$fullname{$file}} = $status;
+	$cvsstat{$fullname{$file}} = $status
+	    if defined $fullname{$file};
       }
     }
 }
-- 
1.6.3.3

```
