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>
This commit is contained in:
parent
d78f099d89
commit
65a4e98a22
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user