Closed
Bug 292002
Opened 21 years ago
Closed 20 years ago
build warning in nsFormFillController.cpp
Categories
(Toolkit :: Autocomplete, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 303779
People
(Reporter: bugzilla, Unassigned)
Details
when building on gcc on windows I got:
e:/mozilla/mozilla/toolkit/components/satchel/src/nsFormFillController.cpp: In
function `nsRect GetScreenOrigin(nsIDOMElement*)':
e:/mozilla/mozilla/toolkit/components/satchel/src/nsFormFillController.cpp:144:
warning: unused variable 'rv'
should I just remove the rv variable to should I make a check to see if it's null?
Something like this:
nsresult rv = presShell->GetPrimaryFrameFor(content, &frame);
NS_ENSURE_SUCCESS(rv, rv);
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 303779 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•