Changeset 11690


Ignore:
Timestamp:
04/02/21 17:22:38 (8 months ago)
Author:
gorgone
Message:

buildfix #4836

module-dvbapi.c:262:5: warning: Value stored to 'ret' is never read [deadcode.DeadStores]
-> ret = send(fd, &request, sizeof(request), 0);

module-dvbapi.c:2469:11: warning: Value stored to 'currentfd' is never read [deadcode.DeadStores]
-> currentfd = ca_fd[i] = 0;

module-dvbapi.c:3325:2: warning: Value stored to 'p_order' is never read [deadcode.DeadStores]
-> p_order = demux[demux_id].ECMpidcount + 1;

module-dvbapi.c:7102:6: warning: Value stored to 'connfd' is never read [deadcode.DeadStores]
-> connfd = -1; initially no socket to read from

module-dvbapi.c:7179:8: warning: Value stored to 'connfd' is never read [deadcode.DeadStores]
-> connfd = -1;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-dvbapi.c

    r11689 r11690  
    261261            {
    262262                ret = send(fd, &request, sizeof(request), 0);
    263                 ret = 1;
     263                if(!(ret == 1)){ ret = 1; }
    264264                break;
    265265            }
     
    24672467                                            cs_log("ERROR: Could not close demuxer fd (errno=%d %s)", errno, strerror(errno));
    24682468                                        }
    2469                                         currentfd = ca_fd[i] = 0;
    24702469                                    }
    24712470                                }
     
    33233322        }
    33243323    }
    3325     p_order = demux[demux_id].ECMpidcount + 1;
    33263324
    33273325    for(n = 0; n < demux[demux_id].ECMpidcount; n++)
     
    71007098                if(type[i] == 1)
    71017099                {
    7102                     connfd = -1; // initially no socket to read from
    71037100                    uint8_t add_to_poll = 0; // we may need to additionally poll this socket when no PMT data comes in
    71047101
     
    71777174                            }
    71787175                            close(connfd);
    7179                             connfd = -1;
    71807176
    71817177                            // last connection closed
Note: See TracChangeset for help on using the changeset viewer.