Fix some issues pointed out by compiler warnings.

* vmware_chain_module() doesn't return any values.
* Remove an unused local variable.
This commit is contained in:
Michel Dänzer
2010-03-29 10:19:04 +02:00
parent cc77a36048
commit 423d8a069a

View File

@@ -143,7 +143,7 @@ err:
return FALSE;
}
static Bool
static void
vmware_chain_module(pointer opts)
{
int vmwlegacy_devices;
@@ -205,7 +205,6 @@ static pointer
vmware_setup(pointer module, pointer opts, int *errmaj, int *errmin)
{
static Bool setupDone = 0;
int ret;
/* This module should be loaded only once, but check to be sure. */
if (!setupDone) {