Closed Bug 1408750 Opened 7 years ago Closed 7 years ago

allocateForDefinition: unused variable 'from'

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In file included from /data/jenkins/workspace/firefox-clang-last/obj-x86_64-pc-linux-gnu/js/src/Unified_cpp_js_src19.cpp:20: /data/jenkins/workspace/firefox-clang-last/js/src/jit/StupidAllocator.cpp:411:18: error: unused variable 'from' [-Werror,-Wunused-variable] CodePosition from;
This is because clang improved its detection of unused variables: https://reviews.llvm.org/D38678
Comment on attachment 8918648 [details] Bug 1408750 - allocateForDefinition: Remove unused variable 'from' https://reviewboard.mozilla.org/r/189474/#review194912
Attachment #8918648 - Flags: review?(nicolas.b.pierron) → review+
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5376560d4a73 allocateForDefinition: Remove unused variable 'from' r=nbp
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
No longer blocks: clang-based-analysis
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: