From 65a4e98a22eab9317a05d1485c7c5a9c5befd589 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 2 Jul 2006 22:57:17 +0200 Subject: [PATCH] Git.pm: Don't #define around die Back in the old days, we called Git's die() from the .xs code, but we had to hijack Perl's die() for that. Now we don't call Git's die() so no need to do the hijacking and it silences a compiler warning. Signed-off-by: Petr Baudis Signed-off-by: Junio C Hamano --- perl/Git.xs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/perl/Git.xs b/perl/Git.xs index c8242103b5..2bbec4365f 100644 --- a/perl/Git.xs +++ b/perl/Git.xs @@ -8,15 +8,11 @@ #include "../cache.h" #include "../exec_cmd.h" -#define die perlyshadow_die__ - /* XS and Perl interface */ #include "EXTERN.h" #include "perl.h" #include "XSUB.h" -#undef die - static char * report_xs(const char *prefix, const char *err, va_list params)