[PATCH 3/6] Remove return undef from ask()
- From
- Bill Pemberton <wfp5p@virginia.edu>
- Date
- Apr 29, 2009, 13:12 UTC
- Message-ID
- <1241010743-7020-4-git-send-email-wfp5p@virginia.edu>
- In-Reply-To
- <1241010743-7020-3-git-send-email-wfp5p@virginia.edu>
Returning undef is rarely the correct way to return a failure. Replace it with bare return
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> --- git-send-email.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-send-email.perl b/git-send-email.perl index 067aaf0..1ed5869 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -633,7 +633,7 @@ sub ask { return $resp; } } - return undef; + return; } my $prompting = 0;
-- 1.6.0.6