Closed Bug 299628 Opened 19 years ago Closed 19 years ago

Compile time-errors in nsXFormsModelElement.cpp and nsXFormsSchemaValidator.cpp

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: allan, Assigned: allan)

References

()

Details

Attachments

(1 file)

bug 294441 and bug 278447 creates compile-time errors:
nsXFormsModelElement.cpp: In member function `virtual nsresult 
   nsXFormsModelElement::FindInstanceElement(const nsAString_internal&, 
   nsIInstanceElementPrivate**)':
nsXFormsModelElement.cpp:1018: warning: comparison between signed and unsigned 
   integer expressions
nsXFormsModelElement.cpp: In member function `void 
   nsXFormsModelElement::BackupOrRestoreInstanceData(int)':
nsXFormsModelElement.cpp:1279: warning: comparison between signed and unsigned 
   integer expressions
nsXFormsSchemaValidator.cpp: In member function `PRBool 
   nsXFormsSchemaValidator::GetType(const nsAString_internal&, const 
   nsAString_internal&, nsISchemaType**)':
nsXFormsSchemaValidator.cpp:119: warning: unused variable `PRBool success'

I _hate_ warnings when I compile.
Attached patch PatchSplinter Review
Attachment #188194 - Flags: review?(smaug)
Attachment #188194 - Flags: review+
Attachment #188194 - Flags: review?(smaug) → review+
checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: