Since D100581, Clang started flagging this variable which is set but
never read. Based on comparing this function with __match_at_start_posix_nosubs
(which is very similar), I am pretty confident that __j was simply left
behind as an oversight in Howard's 6afe8b0a2336.
Details
Details
- Reviewers
• Quuxplusone - Group Reviewers
Restricted Project - Commits
- rG2cf78d4ead4a: [libc++] Remove unused variable warnings
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Remove j instead of silencing the error -- after some research, I think j was left behind as an oversight.
libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/eval.pass.cpp | ||
---|---|---|
207–208 | I tested with ubsan enabled and I'm not seeing any issue. |
Well, that's not going to work. ;)