You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "zwoop (via GitHub)" <gi...@apache.org> on 2023/07/13 18:00:19 UTC
[GitHub] [trafficserver] zwoop opened a new issue, #10030: CID 1513214: Incorrect expression
zwoop opened a new issue, #10030:
URL: https://github.com/apache/trafficserver/issues/10030
```
*** CID 1513214: Incorrect expression (UNUSED_VALUE)
/lib/swoc/include/swoc/Vectray.h: 418 in swoc::_1_5_1::Vectray<swoc::_1_5_1::TextView, (unsigned long)8, std::allocator<swoc::_1_5_1::TextView>>::items()()
412 }, _store);
413 }
414
415 template<typename T, size_t N, class A>
416 auto Vectray<T, N, A>::items() -> span {
417 return std::visit(swoc::meta::vary{
CID 1513214: Incorrect expression (UNUSED_VALUE)
Assigning value from "swoc::_1_5_1::Vectray<swoc::_1_5_1::TextView, 8ul, std::allocator<swoc::_1_5_1::TextView> >::items()::[lambda(swoc::_1_5_1::Vectray<swoc::_1_5_1::TextView, 8ul, std::allocator<swoc::_1_5_1::TextView> >::FixedStore &) (instance 1)]()" to "*<temporary>" here, but that stored value is overwritten before it can be used.
418 [](FixedStore & fs) { return fs.span(); }
419 , [](DynamicStore & ds) { return span(ds.data(), ds.size()); }
420 }, _store);
421 }
422
423 template<typename T, size_t N, class A>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CID 1513214: Incorrect expression [trafficserver]
Posted by "maskit (via GitHub)" <gi...@apache.org>.
maskit closed issue #10030: CID 1513214: Incorrect expression
URL: https://github.com/apache/trafficserver/issues/10030
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org