mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
tests: Make the static ananlyzers happy with the threads
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <norbertpocs0@gmail.com>
This commit is contained in:
@ -119,6 +119,8 @@ static void *thread_growing_buffer_shifting(void *threadid)
|
|||||||
buffer = ssh_buffer_new();
|
buffer = ssh_buffer_new();
|
||||||
if (buffer == NULL) {
|
if (buffer == NULL) {
|
||||||
pthread_exit((void *)-1);
|
pthread_exit((void *)-1);
|
||||||
|
/* dummy analyzers ... */
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
ssh_buffer_set_secure(buffer);
|
ssh_buffer_set_secure(buffer);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user