mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Removed some unused code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1910 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b43f210a47
commit
bdf5bf9785
@ -74,7 +74,6 @@ static void perl_call_signal(const char *func, int signal_id,
|
|||||||
gconstpointer *args)
|
gconstpointer *args)
|
||||||
{
|
{
|
||||||
dSP;
|
dSP;
|
||||||
int retcount;
|
|
||||||
|
|
||||||
PERL_SIGNAL_ARGS_REC *rec;
|
PERL_SIGNAL_ARGS_REC *rec;
|
||||||
SV *sv, *perlarg, *saved_args[SIGNAL_MAX_ARGUMENTS];
|
SV *sv, *perlarg, *saved_args[SIGNAL_MAX_ARGUMENTS];
|
||||||
@ -152,7 +151,7 @@ static void perl_call_signal(const char *func, int signal_id,
|
|||||||
}
|
}
|
||||||
|
|
||||||
PUTBACK;
|
PUTBACK;
|
||||||
retcount = perl_call_pv((char *) func, G_EVAL|G_DISCARD);
|
perl_call_pv((char *) func, G_EVAL|G_DISCARD);
|
||||||
SPAGAIN;
|
SPAGAIN;
|
||||||
|
|
||||||
if (SvTRUE(ERRSV)) {
|
if (SvTRUE(ERRSV)) {
|
||||||
|
@ -62,7 +62,6 @@ static void perl_source_destroy(PERL_SOURCE_REC *rec)
|
|||||||
static int perl_source_event(PERL_SOURCE_REC *rec)
|
static int perl_source_event(PERL_SOURCE_REC *rec)
|
||||||
{
|
{
|
||||||
dSP;
|
dSP;
|
||||||
int retcount;
|
|
||||||
|
|
||||||
ENTER;
|
ENTER;
|
||||||
SAVETMPS;
|
SAVETMPS;
|
||||||
@ -72,7 +71,7 @@ static int perl_source_event(PERL_SOURCE_REC *rec)
|
|||||||
PUTBACK;
|
PUTBACK;
|
||||||
|
|
||||||
perl_source_ref(rec);
|
perl_source_ref(rec);
|
||||||
retcount = perl_call_pv(rec->func, G_EVAL|G_DISCARD);
|
perl_call_pv(rec->func, G_EVAL|G_DISCARD);
|
||||||
SPAGAIN;
|
SPAGAIN;
|
||||||
|
|
||||||
if (SvTRUE(ERRSV)) {
|
if (SvTRUE(ERRSV)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user