mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 05:00:13 -10:00
reduce Macintosh compiler warnings by making function static
This commit is contained in:
1 parent
f5df0f1b13
commit
cd919bc90f
2 files changed
+2
No files matched your search
@@ -605,6 +605,7 @@ nsHTMLButtonControlFrame::Paint(nsIPresContext& aPresContext,
|
||||
|
||||
// XXX a hack until the reflow state does this correctly
|
||||
// XXX when it gets fixed, leave in the printf statements or add an assertion
|
||||
static
|
||||
void ButtonHack(nsHTMLReflowState& aReflowState, char* aMessage)
|
||||
{
|
||||
if (aReflowState.computedWidth == 0) {
|
||||
|
||||
Reference in new issue
Block a user