Several smaller fixes to compile on windows
[deb_shairplay.git] / src / lib / raop_rtp.c
index 39ac7ab53d2d7c9f13b2ef0b10028e2b868bf275..32873464b1717a211701304daaa6ec149a0ad99b 100644 (file)
@@ -379,7 +379,6 @@ raop_rtp_thread_tcp(void *arg)
                }
                if (stream_fd != -1 && FD_ISSET(stream_fd, &rfds)) {
                        unsigned int rtplen=0;
-                       char type;
 
                        const void *audiobuf;
                        int audiobuflen;
@@ -415,7 +414,6 @@ raop_rtp_thread_tcp(void *arg)
                        }
 
                        /* Packet is valid, process it */
-                       type = packet[4+1] & ~0x80;
                        ret = raop_buffer_queue(raop_rtp->buffer, packet+4, rtplen, 0);
                        assert(ret >= 0);