mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
move local variable into comment block to reduce warnings on Macintosh compiler
This commit is contained in:
parent
e44af60f86
commit
fea14bd750
@ -288,10 +288,10 @@ nsTextEditorKeyListener::ProcessShortCutKeys(nsIDOMEvent* aKeyEvent, PRBool& aPr
|
|||||||
|
|
||||||
case nsIDOMEvent::VK_INSERT:
|
case nsIDOMEvent::VK_INSERT:
|
||||||
{
|
{
|
||||||
nsresult result;
|
|
||||||
//XXX: should be from a factory
|
//XXX: should be from a factory
|
||||||
//XXX: should manage the refcount of txn
|
//XXX: should manage the refcount of txn
|
||||||
/*
|
/*
|
||||||
|
nsresult result;
|
||||||
nsAutoString attribute("src");
|
nsAutoString attribute("src");
|
||||||
nsAutoString value("resource:/res/samples/raptor.jpg");
|
nsAutoString value("resource:/res/samples/raptor.jpg");
|
||||||
|
|
||||||
|
@ -288,10 +288,10 @@ nsTextEditorKeyListener::ProcessShortCutKeys(nsIDOMEvent* aKeyEvent, PRBool& aPr
|
|||||||
|
|
||||||
case nsIDOMEvent::VK_INSERT:
|
case nsIDOMEvent::VK_INSERT:
|
||||||
{
|
{
|
||||||
nsresult result;
|
|
||||||
//XXX: should be from a factory
|
//XXX: should be from a factory
|
||||||
//XXX: should manage the refcount of txn
|
//XXX: should manage the refcount of txn
|
||||||
/*
|
/*
|
||||||
|
nsresult result;
|
||||||
nsAutoString attribute("src");
|
nsAutoString attribute("src");
|
||||||
nsAutoString value("resource:/res/samples/raptor.jpg");
|
nsAutoString value("resource:/res/samples/raptor.jpg");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user