fix warnings

This commit is contained in:
sspitzer@netscape.com
1999-12-28 19:41:57 +00:00
parent 1f1ca61aac
commit e03f762b2f
8 changed files with 759 additions and 209 deletions
+2 -2
View File
@@ -411,7 +411,7 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
dc->GetScrollBarDimensions(sbWidth, sbHeight);
// Convert to nscoord's by rounding
nscoord scrollbarWidth = NSToCoordRound(sbWidth);
nscoord scrollbarHeight = NSToCoordRound(sbHeight);
//nscoord scrollbarHeight = NSToCoordRound(sbHeight);
// Subtract out the scrollbar width
scrolledAreaWidth -= scrollbarWidth;
@@ -1797,7 +1797,7 @@ nsListControlFrame::ToggleSelected(PRInt32 aIndex)
PRBool nsListControlFrame::CheckIfAllFramesHere()
{
// Get the number of optgroups and options
PRInt32 numContentItems = 0;
//PRInt32 numContentItems = 0;
nsCOMPtr<nsIDOMNode> node(do_QueryInterface(mContent));
if (node) {
// XXX Need to find a fail proff way to determine that