Closed Bug 885014 Opened 7 years ago Closed 7 years ago

nsWebBrowser.cpp:316:14: warning: unused variable 'rv' [-Wunused-variable]

Categories

(Core Graveyard :: Embedding: APIs, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla24

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

{
embedding/browser/webBrowser/nsWebBrowser.cpp: In member function 'virtual nsresult nsWebBrowser::EnableGlobalHistory(bool)':

embedding/browser/webBrowser/nsWebBrowser.cpp:316:14: warning: unused variable 'rv' [-Wunused-variable]
      nsresult rv;
               ^
}

bug 882079 removed the only usage of this variable. Here's a link to that chunk of its cset:  https://hg.mozilla.org/mozilla-central/rev/0c9dee40787c#l8.30
Attached patch fixSplinter Review
Tagging tbsaunde for review, since he worked on bug 882079.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #764984 - Flags: review?(trev.saunders)
Attachment #764984 - Flags: review?(trev.saunders) → review+
Flags: in-testsuite-
Keywords: checkin-needed
OS: Linux → All
Hardware: x86_64 → All
https://hg.mozilla.org/mozilla-central/rev/1b63312924ba
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.