Changeset 6511 for trunk/osd

Show
Ignore:
Timestamp:
09/07/08 23:03:53 (3 months ago)
Author:
flynd
Message:

Fixed some compiler warnings that appeared with Wextra.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/osd/src/licq-osd.cpp

    r6461 r6511  
    146146 
    147147// issue a few warnings for wrong config values. 
    148 void verifyconfig(string pluginfont, unsigned long timeout, unsigned long hoffset, 
    149           unsigned long voffset, string vpos, string hpos, unsigned long lines, 
    150           unsigned long linelen, unsigned long quiettimeout, string colour, 
    151           bool wait, unsigned long showmessages, unsigned long showlogon, 
    152           unsigned long shadowoffset, unsigned long outlineoffset, string shadowcolour, 
    153           string outlinecolour, string localencoding) 
     148void verifyconfig(string pluginfont, unsigned long /* timeout */, 
     149    unsigned long hoffset, unsigned long voffset, string vpos, string hpos, 
     150    unsigned long lines, unsigned long linelen, unsigned long quiettimeout, 
     151    string colour, bool /* wait */, unsigned long showmessages, 
     152    unsigned long showlogon, unsigned long shadowoffset, 
     153    unsigned long outlineoffset, string shadowcolour, string outlinecolour, 
     154    string localencoding) 
    154155{ 
    155156    try { 
     
    215216 
    216217// called once on Load of the plugin 
    217 bool LP_Init(int argc, char **argv) 
     218bool LP_Init(int /* argc */, char** /* argv */) 
    218219{ 
    219220    char ShowInModesStr[MAX_LINE_LEN+1]; 
     
    788789// CICQSignal is needed to get the User for this message - 
    789790// some day i will do this more elegant 
    790 char* my_translate(unsigned long uin, const char* msg, const char* userenc) 
     791char* my_translate(unsigned long /* uin */, const char* msg, const char* userenc) 
    791792{ 
    792793    // will be deleted outside of this function