diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-23 23:23:45 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-23 23:23:45 +0000 |
commit | 8961d23171ff5d8e9eb15c1f935c9447d24ad2dc (patch) | |
tree | 718d77b40d79508afd49975bbe1bd24e7f0fcf85 | |
parent | 4e0166a44d187182652baaacbfdd610e7d44f9c5 (diff) | |
download | irssi-8961d23171ff5d8e9eb15c1f935c9447d24ad2dc.zip |
Still some warnings removed..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@864 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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)); |