Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. *** CID 1376468: Control flow issues (DEADCODE)
  2. /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 *>>&)()
  3. 111 b = control_word << 3;
  4. 112 for (int n = 6; n >= 0; n--) {
  5. 113 out[i++] = b & (1 << n) ? 1 : 0;
  6. 114 }
  7. 115 b = 0x00;
  8. 116 for (int n = 6; n >= 0; n--) {
  9. >>> CID 1376468: Control flow issues (DEADCODE)
  10. >>> Execution cannot reach the expression "1" inside this statement: "out[i++] = ((b & (1 << n)) ...".
  11. 117 out[i++] = b & (1 << n) ? 1 : 0;
  12. 118 }
  13. 119 }
  14. 120 else {
  15. 121 for (int j = 0; j < 88 * 128; j++) {
  16. 122 b = *in++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement