Closed
Bug 1297662
Opened 8 years ago
Closed 8 years ago
Remove unused file gf2_8.c & gf2_8.h
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: nical, Assigned: Sylvestre)
References
Details
(Whiteboard: [necko-active])
Attachments
(1 file)
gcc -Wmisleading-indentation warning here (and the following lines): http://searchfox.org/mozilla-central/rev/b38dbd1378cea4ae83bbc8a834cdccd02bbc5347/netwerk/srtp/src/crypto/math/gf2_8.c#57
Not sure if the code in gf2_8.c is actually correct, but a lot of the occurrences of the warning are bugs, so we need to make gecko build without this warning.
Comment 1•8 years ago
|
||
Nicolas, feel free to find a different owner.
Assignee: nobody → nical.bugzilla
Whiteboard: [necko-active]
Comment 2•8 years ago
|
||
FWIW, this file appears to have been removed upstream:
https://github.com/cisco/libsrtp/commit/8aa936e9b528efb09cead64ea49f900cda547d7f
... with the misleading indentation unfixed.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•8 years ago
|
||
Assignee | ||
Comment 5•8 years ago
|
||
The code coverage of this file is 0%. However, I don't expect my try to work.
Assignee | ||
Comment 6•8 years ago
|
||
Actually, it worked. I polished the patch a bit more.
Assignee: nical.bugzilla → sledru
Summary: Misleading indentation in gf2_8.c → Remove unused file gf2_8.c & gf2_8.h
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8794783 -
Flags: review?(rjesup)
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8794783 [details]
Bug 1297662 - Remove gf2_8.c & gf2_8.h as they are unused.
https://reviewboard.mozilla.org/r/81080/#review79952
We can remove it though note that we're on an older branch of srtp (1.x) not the current 2.x branch. In general we try to avoid landing build/warning fixes and "cleanup" on upstream code, since that makes future imports more painful. If possible it's better to land changes in the moz.build/etc files to disable specific warnings. However, we can take this.
I verified this is the exact code that was in the (removed) .h file.
Attachment #8794783 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 9•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8794783 [details]
Bug 1297662 - Remove gf2_8.c & gf2_8.h as they are unused.
https://reviewboard.mozilla.org/r/81080/#review79952
I agree with you. As it is dead code being compiled... :)
Comment 10•8 years ago
|
||
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8009d19e29e0
Remove gf2_8.c & gf2_8.h as they are unused. r=jesup
Comment 11•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•