Changeset 56f260a for root_commands.c


Ignore:
Timestamp:
2007-11-22T22:56:52Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
df6d1da
Parents:
d75597b
Message:

Some changes to get rid of compiler warnings. (And disabling strict
aliasing because there are too many warnings about it. :-P)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    rd75597b r56f260a  
    745745static void cmd_set( irc_t *irc, char **cmd )
    746746{
    747         char *set_name;
     747        char *set_name = NULL;
    748748       
    749749        if( cmd[1] && cmd[2] )
     
    765765                }
    766766        }
    767         if( cmd[1] ) /* else 'forgotten' on purpose.. Must show new value after changing */
     767        if( set_name ) /* else 'forgotten' on purpose.. Must show new value after changing */
    768768        {
    769769                char *s = set_getstr( &irc->set, set_name );
Note: See TracChangeset for help on using the changeset viewer.