From: Petr Baudis Date: Sun, 2 Jul 2006 20:57:17 +0000 (+0200) Subject: Git.pm: Don't #define around die X-Git-Tag: v1.4.3-rc1~2^2~20 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=65a4e98a22eab9317a05d1485c7c5a9c5befd589;p=git.git 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 --- diff --git a/perl/Git.xs b/perl/Git.xs index c8242103b..2bbec4365 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)