Changeset 0483e1e for protocols/nogaim.c


Ignore:
Timestamp:
2016-11-28T19:26:16Z (5 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
90254d0
Parents:
2a1c27f
Message:

Fix some compiler warnings

warn_unused_result on write() is particularly annoying. You can't just
add (void) to ignore it due to gcc bug 66425.

I replaced some of those with fwrite() and used a variable marked with
the G_GNUC_UNUSED attribute for the writes from signal handlers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r2a1c27f r0483e1e  
    5454        GList *l;
    5555        struct plugin_info *i;
    56         struct plugin_info *info;
     56        struct plugin_info *info = NULL;
    5757        struct plugin_info * (*info_function) (void) = NULL;
    5858        void (*init_function) (void);
Note: See TracChangeset for help on using the changeset viewer.