From 0a583f1b559359e91b4c39b4f6224eacf0699386 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Thu, 28 Aug 2014 18:33:36 +0100 Subject: [PATCH] Quieten an incorrect compiler warning --- .gitignore | 2 +- rtsp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9087a5ac..a559c3e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/shairport +/shairport-sync /*.o /*~ /config.mk diff --git a/rtsp.c b/rtsp.c index 2c85c8a9..c4109aee 100644 --- a/rtsp.c +++ b/rtsp.c @@ -70,7 +70,7 @@ static int is_playing = 0; // it monitors the request variable (at least when interrupted) static pthread_mutex_t playing_mutex = PTHREAD_MUTEX_INITIALIZER; static int please_shutdown = 0; -static pthread_t playing_thread = NULL; +static pthread_t playing_thread = 0; typedef struct { int fd;