diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-03-29 10:19:04 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2010-03-29 10:19:04 +0200 |
commit | 423d8a069a2d86068a8f22926a73bc965670315d (patch) | |
tree | 5343445a3f6bafcde7a09b137cf0b3f7b5ed032f /src | |
parent | cc77a36048863640fb1fa9f82b5b0dbf41326872 (diff) |
Fix some issues pointed out by compiler warnings.
* vmware_chain_module() doesn't return any values.
* Remove an unused local variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/vmwaremodule.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vmwaremodule.c b/src/vmwaremodule.c index d6fcddb..3d7f666 100644 --- a/src/vmwaremodule.c +++ b/src/vmwaremodule.c @@ -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) { |