TESTBED: Fix warnings

svn-id: r52790
This commit is contained in:
Filippos Karapetis 2010-09-18 09:52:05 +00:00
parent 928bcdbe09
commit 6fed6a75d5
2 changed files with 2 additions and 5 deletions

View File

@ -159,10 +159,7 @@ void TestbedInteractionDialog::addButtonXY(uint x, uint y, uint w, uint h, const
}
void TestbedInteractionDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) {
switch (cmd) {
default:
GUI::Dialog::handleCommand(sender, cmd, data);
}
GUI::Dialog::handleCommand(sender, cmd, data);
}
void TestbedConfigManager::initDefaultConfiguration() {

View File

@ -351,7 +351,7 @@ void GFXtests::drawEllipse(int cx, int cy, int a, int b) {
int width = g_system->getWidth();
int height = Testsuite::getDisplayRegionCoordinates().y;
byte *buffer = new byte[height * width];
float theta;
double theta;
int x, y, x1, y1;
memset(buffer, 0, sizeof(byte) * width * height);