Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-07-03 00:57:17 +0400
committerJunio C Hamano <junkio@cox.net>2006-07-03 04:14:45 +0400
commit65a4e98a22eab9317a05d1485c7c5a9c5befd589 (patch)
treecf1efe57d4e4652716477082e1eba76e79cabe42
parentd78f099d8956947576cd5ccc1c5c13f94075b476 (diff)
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>
-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)