Ignore:
Timestamp:
01/12/16 23:08:49 (9 years ago)
Author:
r2d
Message:

mpcenc : remove compilation error and a warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcenc/mpcenc.c

    r487 r488  
    10241024        else if ( 0 == strcmp ( arg, "stderr") ) {                                      // Offset for threshold in quiet
    10251025            if ( ++k >= argc ) { stderr_printf ( errmsg, arg ); return -1; }
    1026             stderr = freopen ( argv[k], "a", stderr );
     1026            if ( 0 == freopen ( argv[k], "a", stderr ) ) { stderr_printf ("invalid stderr filename"); return -1; }
    10271027        }
    10281028        else if ( 0 == strcmp ( arg, "ltq")  ||  0 == strcmp ( arg, "ath") ) {          // threshold in quiet
     
    14591459    cw  &=  ~0x300;
    14601460        _asm { fldcw cw };
     1461#else
     1462    (void)cw; // remove unused variable warning
    14611463#endif
    14621464}
Note: See TracChangeset for help on using the changeset viewer.