mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Still some warnings removed..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@864 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4e0166a44d
commit
8961d23171
@ -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 *));
|
||||
|
||||
|
@ -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))),
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user