Fix many more comiler warnings

Most warnings were harmless, some real bugs. Test set should now compile
cleanly with ack, gcc, and clang.
This commit is contained in:
Thomas Veerman
2011-11-28 10:07:55 +00:00
parent b4fb061802
commit 92b61c816d
53 changed files with 120 additions and 125 deletions
+1 -1
View File
@@ -546,7 +546,7 @@ device_connect_callback
break;
}
if (_devices[i].dev!= NULL) {
if (i >= MAX_DEVS) {
DEBUG_MSG("Too much devices...");
} else {
_devices[i].dev = dev;