Changeset f7d12f7 for protocols/oscar


Ignore:
Timestamp:
2010-08-05T20:20:44Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
bf2ebd8
Parents:
65a4a64
Message:

Some fixes for compiler warnings that only show up when compiling with -O2,
and some additions to the Debian package description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r65a4a64 rf7d12f7  
    19631963static int gaim_ssi_parselist(aim_session_t *sess, aim_frame_t *fr, ...) {
    19641964        struct im_connection *ic = sess->aux_data;
    1965         struct aim_ssi_item *curitem, *curgroup;
     1965        struct aim_ssi_item *curitem, *curgroup = NULL;
    19661966        int tmp;
    19671967        char *nrm;
     
    19801980                                                    realname = aim_gettlv_str(curitem->data, 0x0131, 1);
    19811981                                       
    1982                                         imcb_add_buddy(ic, nrm, curgroup->gid == curitem->gid ? curgroup->name : NULL);
     1982                                        imcb_add_buddy(ic, nrm, curgroup ? (curgroup->gid == curitem->gid ? curgroup->name : NULL) : NULL);
    19831983                                       
    19841984                                        if (realname) {
Note: See TracChangeset for help on using the changeset viewer.