Closed
Bug 1476645
Opened 7 years ago
Closed 7 years ago
[Static Analysis] infer errors in gfx/*
Categories
(Core :: Graphics, enhancement, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: rbartlensky, Assigned: rbartlensky)
References
Details
Attachments
(1 file)
gfx/thebes/gfxFontUtils.cpp:93: error: DEAD_STORE
The value written to &index (type int) is never used.
91. if (i + 4 != 32) index += snprintf(&outStr[index], BUFSIZE - index, " ");
92. }
93. > index += snprintf(&outStr[index], BUFSIZE - index, "]");
94. LOG(aWhichLog, ("%s", outStr));
95. }
gfx/2d/FilterProcessingSIMD-inl.h:119: error: DEAD_STORE
The value written to &bgrabgrabgrabgra1 (type void) is never used.
117. int32_t targetIndex = y * alphaStride + x;
118.
119. > u8x16_t bgrabgrabgrabgra1 = simd::FromZero8<u8x16_t>();
120. u8x16_t bgrabgrabgrabgra2 = simd::FromZero8<u8x16_t>();
121. u8x16_t bgrabgrabgrabgra3 = simd::FromZero8<u8x16_t>();
gfx/src/nsDeviceContext.cpp:274: error: DEAD_STORE
The value written to &dpi (type float) is never used.
272. nsDeviceContext::SetDPI(double* aScale)
273. {
274. > float dpi = -1.0f;
275.
276. // Use the printing DC to determine DPI values, if we have one.
gfx/src/nsDeviceContext.cpp:549: error: DEAD_STORE
The value written to &rv (type int) is never used.
547. "Mismatched BeginDocument/EndDocument calls");
548.
549. > nsresult rv = NS_OK;
550.
551. mIsCurrentlyPrintingDoc = false;
gfx/2d/FilterProcessingSIMD-inl.h:804: error: DEAD_STORE
The value written to &bgrabgrabgrabgra1 (type void) is never used.
802. int32_t targetIndex = y * channelStride + x;
803.
804. > u8x16_t bgrabgrabgrabgra1 = simd::FromZero8<u8x16_t>();
805. u8x16_t bgrabgrabgrabgra2 = simd::FromZero8<u8x16_t>();
806. u8x16_t bgrabgrabgrabgra3 = simd::FromZero8<u8x16_t>();
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8993036 [details]
Bug 1476645: Fix DEAD_STORE errors in gfx/*.
https://reviewboard.mozilla.org/r/257820/#review264758
Attachment #8993036 -
Flags: review?(lsalzman) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/75cbc42803d7
Fix DEAD_STORE errors in gfx/*. r=lsalzman
Keywords: checkin-needed
Comment 5•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•