Closed Bug 203 Opened 26 years ago Closed 26 years ago

warning fix : ns/lib/layout/laysel.c

Categories

(MozillaClassic Graveyard :: Layout, defect, P3)

1998-03-31
defect

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:11:38 PM PDT
Additional Details :
(In the continuing quest to eliminate even compiler warnings
... )

Ever more unreferenced vars.

(4785) : warning C4101: ''endOfDocument'' : unreferenced local
variable
(4785) : warning C4101: ''startOfDocument'' : unreferenced
local variable

--- laysel.old.c        Wed Apr 08 17:52:27 1998
+++ laysel.c    Tue Apr 14 00:13:31 1998
@@ -4715,3 +4715,4 @@ void LO_Hit(MWContext *context, int32
x,
     {
-        LO_Position endOfDocument;
+        /* Unused */
+        /* LO_Position endOfDocument; */
         int32 endY;
@@ -4733,3 +4734,4 @@ void LO_Hit(MWContext *context, int32
x,
     {
-        LO_Position startOfDocument;
+        /* Unused */
+        /* LO_Position startOfDocument; */
         int32 startY;
Assignee: nobody → {}
Component: Layout
Assignee: {} → djw
Assignee: djw → nisheeth
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This was fixed a while back.  Thanks Rick.
VERIFIED due to no changes in over a year
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.