mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -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;
|
break;
|
||||||
|
|
||||||
if ((unsigned char) *text == LINE_CMD_CONTINUE) {
|
if ((unsigned char) *text == LINE_CMD_CONTINUE) {
|
||||||
unsigned char *tmp;
|
char *tmp;
|
||||||
|
|
||||||
memcpy(&tmp, text+1, sizeof(char *));
|
memcpy(&tmp, text+1, sizeof(char *));
|
||||||
|
|
||||||
|
@ -69,7 +69,6 @@ values(window)
|
|||||||
Irssi::Window window
|
Irssi::Window window
|
||||||
PREINIT:
|
PREINIT:
|
||||||
HV *hv;
|
HV *hv;
|
||||||
GSList *tmp;
|
|
||||||
PPCODE:
|
PPCODE:
|
||||||
hv = newHV();
|
hv = newHV();
|
||||||
hv_store(hv, "refnum", 6, newSViv(window->refnum), 0);
|
hv_store(hv, "refnum", 6, newSViv(window->refnum), 0);
|
||||||
@ -98,7 +97,6 @@ items(window)
|
|||||||
Irssi::Window window
|
Irssi::Window window
|
||||||
PREINIT:
|
PREINIT:
|
||||||
GSList *tmp;
|
GSList *tmp;
|
||||||
HV *stash;
|
|
||||||
PPCODE:
|
PPCODE:
|
||||||
for (tmp = window->items; tmp != NULL; tmp = tmp->next) {
|
for (tmp = window->items; tmp != NULL; tmp = tmp->next) {
|
||||||
CHANNEL_REC *rec = tmp->data;
|
CHANNEL_REC *rec = tmp->data;
|
||||||
@ -125,8 +123,6 @@ values(item)
|
|||||||
Irssi::Windowitem item
|
Irssi::Windowitem item
|
||||||
PREINIT:
|
PREINIT:
|
||||||
HV *hv;
|
HV *hv;
|
||||||
AV *av;
|
|
||||||
GSList *tmp;
|
|
||||||
PPCODE:
|
PPCODE:
|
||||||
hv = newHV();
|
hv = newHV();
|
||||||
hv_store(hv, "server", 6, sv_bless(newRV_noinc(newSViv(GPOINTER_TO_INT(item->server))),
|
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
|
Irssi::Irc::Channel channel
|
||||||
PREINIT:
|
PREINIT:
|
||||||
GSList *tmp;
|
GSList *tmp;
|
||||||
HV *stash;
|
|
||||||
PPCODE:
|
PPCODE:
|
||||||
for (tmp = channel->invitelist; tmp != NULL; tmp = tmp->next) {
|
for (tmp = channel->invitelist; tmp != NULL; tmp = tmp->next) {
|
||||||
XPUSHs(new_pv(tmp->data));
|
XPUSHs(new_pv(tmp->data));
|
||||||
|
Loading…
Reference in New Issue
Block a user