diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/gui-printtext.c | 2 | ||||
-rw-r--r-- | src/perl/common/Window.xs | 4 | ||||
-rw-r--r-- | src/perl/irc/IrcChannel.xs | 1 |
3 files changed, 1 insertions, 6 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index b539f654..3e1930d6 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -140,7 +140,7 @@ void gui_window_line_text_free(GUI_WINDOW_REC *gui, LINE_REC *line) break; if ((unsigned char) *text == LINE_CMD_CONTINUE) { - unsigned char *tmp; + char *tmp; memcpy(&tmp, text+1, sizeof(char *)); diff --git a/src/perl/common/Window.xs b/src/perl/common/Window.xs index 579fef71..5ac89029 100644 --- a/src/perl/common/Window.xs +++ b/src/perl/common/Window.xs @@ -69,7 +69,6 @@ values(window) Irssi::Window window PREINIT: HV *hv; - GSList *tmp; PPCODE: hv = newHV(); hv_store(hv, "refnum", 6, newSViv(window->refnum), 0); @@ -98,7 +97,6 @@ items(window) Irssi::Window window PREINIT: GSList *tmp; - HV *stash; PPCODE: for (tmp = window->items; tmp != NULL; tmp = tmp->next) { CHANNEL_REC *rec = tmp->data; @@ -125,8 +123,6 @@ values(item) Irssi::Windowitem item PREINIT: HV *hv; - AV *av; - GSList *tmp; PPCODE: hv = newHV(); hv_store(hv, "server", 6, sv_bless(newRV_noinc(newSViv(GPOINTER_TO_INT(item->server))), diff --git a/src/perl/irc/IrcChannel.xs b/src/perl/irc/IrcChannel.xs index 7d2b1092..b78636c9 100644 --- a/src/perl/irc/IrcChannel.xs +++ b/src/perl/irc/IrcChannel.xs @@ -29,7 +29,6 @@ invites(channel) Irssi::Irc::Channel channel PREINIT: GSList *tmp; - HV *stash; PPCODE: for (tmp = channel->invitelist; tmp != NULL; tmp = tmp->next) { XPUSHs(new_pv(tmp->data)); |