From: Mike Brady Date: Wed, 7 Mar 2018 19:27:45 +0000 (+0000) Subject: Remove a few more warning causes. X-Git-Tag: 3.2d29~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfd40af87ebb15559da2da0b47c470597fc17422;p=thirdparty%2Fshairport-sync.git Remove a few more warning causes. --- diff --git a/player.c b/player.c index e886a3ba..830a0138 100644 --- a/player.c +++ b/player.c @@ -716,7 +716,7 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) { // struct timespec tn; abuf_t *abuf = 0; int i; - abuf_t *curframe; + abuf_t *curframe = 0; int notified_buffer_empty = 0; // diagnostic only pthread_mutex_lock(&conn->ab_mutex); diff --git a/tinyhttp/http.c b/tinyhttp/http.c index 40eb1c79..5ef0ae3f 100644 --- a/tinyhttp/http.c +++ b/tinyhttp/http.c @@ -48,7 +48,7 @@ static void grow_scratch(struct http_roundtripper* rt, int size) if (nsize < size) nsize = size; - rt->scratch = (char*)rt->funcs.realloc_scratch(rt->opaque, rt->scratch, nsize); + rt->scratch = (char*)rt->funcs.realloc_scratch(rt->opaque, rt->scratch, nsize); rt->nscratch = nsize; }