TESTBED: Fix warnings
svn-id: r52790
This commit is contained in:
parent
928bcdbe09
commit
6fed6a75d5
2 changed files with 2 additions and 5 deletions
|
@ -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) {
|
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() {
|
void TestbedConfigManager::initDefaultConfiguration() {
|
||||||
|
|
|
@ -351,7 +351,7 @@ void GFXtests::drawEllipse(int cx, int cy, int a, int b) {
|
||||||
int width = g_system->getWidth();
|
int width = g_system->getWidth();
|
||||||
int height = Testsuite::getDisplayRegionCoordinates().y;
|
int height = Testsuite::getDisplayRegionCoordinates().y;
|
||||||
byte *buffer = new byte[height * width];
|
byte *buffer = new byte[height * width];
|
||||||
float theta;
|
double theta;
|
||||||
int x, y, x1, y1;
|
int x, y, x1, y1;
|
||||||
|
|
||||||
memset(buffer, 0, sizeof(byte) * width * height);
|
memset(buffer, 0, sizeof(byte) * width * height);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue