Index: /libmpc/trunk/mpcenc/mpcenc.c
===================================================================
--- /libmpc/trunk/mpcenc/mpcenc.c	(revision 487)
+++ /libmpc/trunk/mpcenc/mpcenc.c	(revision 488)
@@ -1024,5 +1024,5 @@
         else if ( 0 == strcmp ( arg, "stderr") ) {                                      // Offset for threshold in quiet
             if ( ++k >= argc ) { stderr_printf ( errmsg, arg ); return -1; }
-            stderr = freopen ( argv[k], "a", stderr );
+            if ( 0 == freopen ( argv[k], "a", stderr ) ) { stderr_printf ("invalid stderr filename"); return -1; }
         }
         else if ( 0 == strcmp ( arg, "ltq")  ||  0 == strcmp ( arg, "ath") ) {          // threshold in quiet
@@ -1459,4 +1459,6 @@
     cw  &=  ~0x300;
 	_asm { fldcw cw };
+#else
+    (void)cw; // remove unused variable warning
 #endif
 }
