move local variable into comment block to reduce warnings on Macintosh compiler

This commit is contained in:
brade%netscape.com 1999-02-19 16:11:23 +00:00
parent e44af60f86
commit fea14bd750
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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");