* Fixed GCC2 build, and a warning that should have fired in GCC4 as well.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33912 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-11-06 08:46:42 +00:00
parent 71a1ec0dd3
commit be12bce74a
2 changed files with 5 additions and 1 deletions

View File

@ -469,7 +469,7 @@ public:
bool FinishMenu(bool force)
{
bool stillActive;
bool stillActive = false;
if (fMenuPreparedToShow) {
stillActive = fRendererSettingsMenu->Finish(fParentLooper, force);

View File

@ -38,6 +38,10 @@ private:
class BaseTypeChild;
class MemberChild;
// for GCC2
friend class BaseTypeChild;
friend class MemberChild;
typedef BObjectList<Child> ChildList;
private: