mirror of
https://github.com/X11Libre/xf86-video-vmware.git
synced 2026-03-24 01:24:37 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user