Closed Bug 198 Opened 26 years ago Closed 26 years ago

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

Categories

(MozillaClassic Graveyard :: Composer, defect, P3)

1998-03-31
defect

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: rick, Assigned: Brade)

Details

Created by Rick Osborne (rick@rixsoft.com) on Monday, April 13, 1998 6:44:09 PM PDT Additional Details : (In the continuing quest to eliminate even compiler warnings ... ) Buckets o'' fun! (1075) : warning C4101: ''pTagElement'' : unreferenced local variable (1075) : warning C4101: ''bItemComplete'' : unreferenced local variable (1075) : warning C4101: ''element'' : unreferenced local variable (1075) : warning C4101: ''elementType'' : unreferenced local variable (2049) : warning C4101: ''doc_id'' : unreferenced local variable (2094) : warning C4101: ''end'' : unreferenced local variable (2094) : warning C4101: ''array'' : unreferenced local variable (2094) : warning C4101: ''start'' : unreferenced local variable (2094) : warning C4101: ''eptr'' : unreferenced local variable --- layedit.old.c Wed Apr 08 17:52:23 1998 +++ layedit.c Mon Apr 13 21:45:19 1998 @@ -881,8 +881,9 @@ void LO_EditorReflow(MWContext *context, int32 iEndLine = -1; LO_Element *leadingMquotes = NULL; - ED_Element *pTagElement; - Bool bItemComplete; - LO_Element * element; - ED_ElementType elementType; + /* Unused */ + /* ED_Element *pTagElement; */ + /* Bool bItemComplete; */ + /* LO_Element * element; */ + /* ED_ElementType elementType; */ LO_Element * startElement; LO_Element * endElement; @@ -2059,9 +2060,10 @@ lo_VerifyLayoutImplementation( MWContext int32 doc_id; lo_TopState *top_state; - lo_DocState *state; - LO_Element **array; - LO_Element *eptr; - LO_Element *start; - LO_Element *end; + lo_DocState *state; + /* Unused vars */ + /* LO_Element **array; */ + /* LO_Element *eptr; */ + /* LO_Element *start; */ + /* LO_Element *end; */ #ifdef XP_WIN16 XP_Block *larray_array; Updated by (brade@netscape.com) on Thursday, April 16, 1998 8:45:32 PM PDT Additional Details : Reassign bug to myself since I'm the owner of this file.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
old bug, old code base. Marking won't fix. Please re-open if I am in error.
setting to an approximate milestone so it can be off of the no TFV list
Target Milestone: --- → M12
You need to log in before you can comment on or make changes to this bug.