Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** CID 1376468: Control flow issues (DEADCODE)
- /data/src/weekly/master/3.7.12git-156-g54e89c643/gr-dtv/lib/catv/catv_frame_sync_enc_bb_impl.cc: 117 in gr::dtv::catv_frame_sync_enc_bb_impl::general_work(int, std::vector<int, std::allocator<int>> &, std::vector<const void *, std::allocator<const void *>>&, std::vector<void *, std::allocator<void *>>&)()
- 111 b = control_word << 3;
- 112 for (int n = 6; n >= 0; n--) {
- 113 out[i++] = b & (1 << n) ? 1 : 0;
- 114 }
- 115 b = 0x00;
- 116 for (int n = 6; n >= 0; n--) {
- >>> CID 1376468: Control flow issues (DEADCODE)
- >>> Execution cannot reach the expression "1" inside this statement: "out[i++] = ((b & (1 << n)) ...".
- 117 out[i++] = b & (1 << n) ? 1 : 0;
- 118 }
- 119 }
- 120 else {
- 121 for (int j = 0; j < 88 * 128; j++) {
- 122 b = *in++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement