Bug 262917 r:\mozilla\layout\html\document\src\nsframeframe.cpp(632) : warning C4715: 'ConvertOverflow' : not all control paths return a value
r=dbaron sr=dbaron a=bsmedberg git-svn-id: svn://10.0.0.236/trunk@175464 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
abeca070bf
commit
cc1514d825
@ -640,6 +640,8 @@ inline PRInt32 ConvertOverflow(PRUint8 aOverflow)
|
||||
case NS_STYLE_OVERFLOW_SCROLL:
|
||||
return nsIScrollable::Scrollbar_Always;
|
||||
}
|
||||
NS_NOTREACHED("invalid overflow value passed to ConvertOverflow");
|
||||
return nsIScrollable::Scrollbar_Auto;
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user