Closed
Bug 202
Opened 27 years ago
Closed 27 years ago
warning fix : ns/lib/layout/layscrip.c
Categories
(MozillaClassic Graveyard :: Layout, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rick, Assigned: nisheeth_mozilla)
Details
Created by Rick Osborne (rick@rixsoft.com) on Monday, April 13, 1998 9:03:49 PM PDT
Additional Details :
(In the continuing quest to eliminate even compiler warnings
... )
Just a couple of #ifdef statements mucking with variable
scope and label usage.
(538) : warning C4102: ''out'' : unreferenced label
(538) : warning C4101: ''principals'' : unreferenced local
variable
(538) : warning C4101: ''name'' : unreferenced local variable
--- layscrip.old.c Wed Apr 08 17:52:27 1998
+++ layscrip.c Tue Apr 14 00:03:13 1998
@@ -452,4 +452,6 @@ lo_script_archive_exit_fn(URL_Struct *ur
ScriptData *data = NULL;
+#ifdef JAVA /* Vars only used in JAVA context */
char *name;
JSPrincipals *principals;
+#endif
ETEvalStuff * stuff;
@@ -534,3 +536,5 @@ lo_script_archive_exit_fn(URL_Struct *ur
+#ifdef JAVA /* Label only used in this context */
out:
+#endif
/* Always free (or drop a ref on) the url_struct before
returning. */
Updated•27 years ago
|
Assignee: nobody → {}
Component: Layout
Updated•27 years ago
|
Assignee: {} → djw
Assignee | ||
Updated•27 years ago
|
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•27 years ago
|
||
This warning was fixed a while back. Thanks for the patch Rick.
You need to log in
before you can comment on or make changes to this bug.
Description
•