Remove a few more warning causes.

This commit is contained in:
Mike Brady
2018-03-07 19:27:45 +00:00
parent f8518af7e0
commit cfd40af87e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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;
}