Skip to content

[Coverity 1666148] Structurally dead code in live555_dtsgen.h

Actions intended to be performed by the unreachable code will never occur.

In dtsgen_AddNextPTS: Code block is unreachable because of the syntactic structure of the code (CWE-561)

110
     
CID 1666148: (#1 of 1): Structurally dead code (UNREACHABLE)
unreachable: Since the loop increment i++; is unreachable, the loop body will never execute more than once.
111        for(; i < d->count; i++)
112        {
113            if(d->history[i] > i_pts)
114            {
115                if(d->reorderdepth < DTSGEN_REORDER_MAX)
116                    d->reorderdepth++;
117            }
118            break;
119        }
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information