Remove a few more warning causes.
This commit is contained in:
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user