Fix GCC4 warning: dlls/ntdll/cdrom.c
Mike Hearn
mike at navi.cx
Tue Jun 28 18:31:46 CDT 2005
This fixes a "control reaches end of non-void function" warning and
cleans up the code a bit at the same time.
Mike Hearn <mh at codeweavers.com>
Fix GCC4 warning: dlls/ntdll/cdrom.c
Index: dlls/ntdll/cdrom.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/cdrom.c,v
retrieving revision 1.57
diff -u -p -d -u -r1.57 cdrom.c
--- dlls/ntdll/cdrom.c 27 Jun 2005 12:07:49 -0000 1.57
+++ dlls/ntdll/cdrom.c 28 Jun 2005 23:30:40 -0000
@@ -1773,14 +1773,10 @@ static NTSTATUS DVD_SendKey(int fd, PDVD
FIXME("Unknown Keytype 0x%x\n",key->KeyType);
}
return ret;
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
- TRACE("bsd\n");
- return STATUS_NOT_SUPPORTED;
#else
- TRACE("outside\n");
+ FIXME("unsupported on this platform\n");
return STATUS_NOT_SUPPORTED;
-#endif
- TRACE("not reached\n");
+#endif
}
/******************************************************************
More information about the wine-patches
mailing list