Last Comment Bug 771638 - IDBObjectStore.cpp:1388:13: warning: unused variable ‘targetObject’ [-Wunused-variable]
: IDBObjectStore.cpp:1388:13: warning: unused variable ‘targetObject’ [-Wunused...
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM: IndexedDB (show other bugs)
: Trunk
: x86_64 Linux
: -- normal (vote)
: mozilla16
Assigned To: Daniel Holbert [:dholbert]
:
:
Mentors:
Depends on:
Blocks: buildwarning 765834
  Show dependency treegraph
 
Reported: 2012-07-06 13:21 PDT by Daniel Holbert [:dholbert]
Modified: 2012-07-07 12:01 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
fix (1.10 KB, patch)
2012-07-06 13:24 PDT, Daniel Holbert [:dholbert]
khuey: review+
Details | Diff | Splinter Review

Description Daniel Holbert [:dholbert] 2012-07-06 13:21:38 PDT
Newish build warning:
> IDBObjectStore.cpp:1388:13: warning: unused variable ‘targetObject’ [-Wunused-variable]

Last usage of this variable was removed here:
http://hg.mozilla.org/mozilla-central/rev/f65133bc5723#l8.485

The variable can just go away.
Comment 1 Daniel Holbert [:dholbert] 2012-07-06 13:24:41 PDT
Created attachment 639768 [details] [diff] [review]
fix

The variable before it, targetObjectPropName, is unused as well. This patch removes both unused variables.
Comment 2 Daniel Holbert [:dholbert] 2012-07-06 14:18:03 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/7f63483c6157
Comment 3 Ryan VanderMeulen [:RyanVM] 2012-07-07 12:01:52 PDT
https://hg.mozilla.org/mozilla-central/rev/7f63483c6157

Note You need to log in before you can comment on or make changes to this bug.