summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-07-02 22:57:17 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-02 17:14:45 -0700
commit65a4e98a22eab9317a05d1485c7c5a9c5befd589 (patch)
treecf1efe57d4e4652716477082e1eba76e79cabe42 /perl
parentd78f099d8956947576cd5ccc1c5c13f94075b476 (diff)
downloadgit-65a4e98a22eab9317a05d1485c7c5a9c5befd589.tar.gz
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 <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'perl')
-rw-r--r--perl/Git.xs4
1 files changed, 0 insertions, 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)