Changeset 6a78c0e for lib/misc.c


Ignore:
Timestamp:
2008-06-30T15:37:12Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6738a67, 718e05f, c6ca3ee
Parents:
dfd442b
Message:

Silenced a compiler warning - I don't think there's any way the unitialized
version of ret could actually be returned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    rdfd442b r6a78c0e  
    584584        md5_byte_t pass_md5[16];
    585585        md5_state_t md5_state;
    586         int ret, i;
    587        
    588         if( base64_decode( hash, &pass_dec ) != 21 )
    589         {
    590                 ret = -1;
    591         }
    592         else
     586        int ret = -1, i;
     587       
     588        if( base64_decode( hash, &pass_dec ) == 21 )
    593589        {
    594590                md5_init( &md5_state );
Note: See TracChangeset for help on using the changeset viewer.