Changeset 25c4c78 for irc_commands.c


Ignore:
Timestamp:
2015-01-16T19:50:24Z (5 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
a6cd799
Parents:
7549d00
git-author:
Jason Copenhaver <jcopenha@…> (16-01-15 19:50:24)
git-committer:
dequis <dx@…> (16-01-15 19:50:24)
Message:

Fix compiler warnings on Cygwin and Mac OS X.

  • Don't use PIE/PIC on Cygwin/Darwin unless specified as these platforms don't support it.
  • Cleanup warnings for 'make check' build.
  • Fix the type issue for getsockopt calls.
  • Fix enum warnings in Yahoo libs on Mac OS X.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r7549d00 r25c4c78  
    770770                {
    771771                        /* There should be no typo in the next line: */
    772                         for( n_arg = 0; cmd[n_arg]; n_arg ++ ); n_arg --;
     772                        for( n_arg = 0; cmd[n_arg]; n_arg ++ )
     773                                ;
     774                        n_arg--;
    773775                       
    774776                        if( irc_commands[i].flags & IRC_CMD_PRE_LOGIN && irc->status & USTATUS_LOGGED_IN )
Note: See TracChangeset for help on using the changeset viewer.