Closed Bug 230966 Opened 22 years ago Closed 21 years ago

Warning: redeclaration of var ... in shared.js

Categories

(SeaMonkey :: Search, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 57654

People

(Reporter: timeless, Assigned: sgautherie)

Details

Attachments

(1 file)

Warning: redeclaration of var rdfNode Source File: chrome://communicator/content/search/shared.js Line: 298, Column: 8 Source Code: var rdfNode = rdf.GetResource(uri); Line: 280, Column: 8 var rdfNode = rdf.GetResource(uri);
Warning: redeclaration of var cmdIndex Source File: chrome://communicator/content/search/shared.js Line: 152, Column: 13 Source Code: for (var cmdIndex = 0; cmdIndex < cmdArray.length; cmdIndex++) Warning: redeclaration of var cmd Source File: chrome://communicator/content/search/shared.js Line: 154, Column: 12 Source Code: var cmd = cmdArray[cmdIndex]; Warning: redeclaration of var cmdResource Source File: chrome://communicator/content/search/shared.js Line: 156, Column: 12 Source Code: var cmdResource = cmd.QueryInterface(Components.interfaces.nsIRDFResource); Warning: redeclaration of var menuItem Source File: chrome://communicator/content/search/shared.js Line: 180, Column: 12 Source Code: var menuItem = document.createElement("menuitem"); Warning: redeclaration of var menuItem Source File: chrome://communicator/content/search/shared.js Line: 216, Column: 8 Source Code: var menuItem = document.createElement("menuitem"); Warning: redeclaration of var uri Source File: chrome://communicator/content/search/shared.js Line: 291, Column: 8 Source Code: var uri = node.getAttribute("ref");
Summary: Warning: redeclaration of var rdfNode → Warning: redeclaration of var ... in shared.js
timeless: Can this bug be resolved as dupicate of bug 57654 !? Or do you want to have it fixed on its own, and block bug 57654 only ??
Severity: normal → trivial
OS: Windows 2000 → All
Hardware: PC → All
This patch "dupes" bug 57654 ones, and is not for checkin ! But it can be used in the meantime to get rid of the warnings :-)
Assignee: search → gautheri
Status: NEW → ASSIGNED
As per comments #0 and #1 this is clearly a dupe. *** This bug has been marked as a duplicate of 57654 ***
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: