Fixed the "unused frame variable" warning.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10963 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2005-01-22 21:26:18 +00:00
parent ce0c82200a
commit 5a9677b8ed
2 changed files with 1 additions and 2 deletions

View File

@ -278,7 +278,7 @@ AddOnManager::RegisterAddOns()
"input_server/filters", "input_server/filters",
"input_server/methods" "input_server/methods"
}; };
fHandler = new IAHandler(this); fHandler = new IAHandler();
fAddOnMonitor = new AddOnMonitor(fHandler); fAddOnMonitor = new AddOnMonitor(fHandler);
node_ref nref; node_ref nref;

View File

@ -73,7 +73,6 @@ void
MethodMenuItem::DrawContent() MethodMenuItem::DrawContent()
{ {
BMenu *menu = Menu(); BMenu *menu = Menu();
BRect frame(Frame());
BPoint contLoc = ContentLocation(); BPoint contLoc = ContentLocation();
menu->SetDrawingMode(B_OP_OVER); menu->SetDrawingMode(B_OP_OVER);