Bug 494689 nsTreeBodyFrame::HandleEvent warning: unused variable ‘lastScrollLines’
authortimeless@mozdev.org
Sat, 27 Jun 2009 18:42:51 -0700
changeset 29776 24deeefbd7e5
parent 29775 0d207c799c26
child 29777 b371c9430539
push id106
push userhsivonen@iki.fi
push dateSun, 28 Jun 2009 17:44:42 +0000
bugs494689
milestone1.9.2a1pre
Bug 494689 nsTreeBodyFrame::HandleEvent warning: unused variable ‘lastScrollLines’ r+sr=neil
layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp
--- a/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp
+++ b/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp
@@ -2638,17 +2638,19 @@ nsTreeBodyFrame::HandleEvent(nsPresConte
     // dropBefore and dropAfter property.
 
     if (!mView || !mSlots)
       return NS_OK;
 
     // Save last values, we will need them.
     PRInt32 lastDropRow = mSlots->mDropRow;
     PRInt16 lastDropOrient = mSlots->mDropOrient;
+#ifndef XP_MACOSX
     PRInt16 lastScrollLines = mSlots->mScrollLines;
+#endif
 
     // Find out the current drag action
     PRUint32 lastDragAction = mSlots->mDragAction;
     if (mSlots->mDragSession)
       mSlots->mDragSession->GetDragAction(&mSlots->mDragAction);
 
     // Compute the row mouse is over and the above/below/on state.
     // Below we'll use this to see if anything changed.