mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
testsem.c: fix -Wmissing-braces warnings.
This commit is contained in:
@@ -62,7 +62,7 @@ ThreadFuncRealWorld(void *data)
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
TestRealWorld(int init_sem) {
|
TestRealWorld(int init_sem) {
|
||||||
Thread_State thread_states[NUM_THREADS] = {0};
|
Thread_State thread_states[NUM_THREADS] = { {0} };
|
||||||
int i;
|
int i;
|
||||||
int loop_count;
|
int loop_count;
|
||||||
|
|
||||||
@@ -181,7 +181,7 @@ TestOverheadContended(SDL_bool try_wait)
|
|||||||
Uint32 start_ticks;
|
Uint32 start_ticks;
|
||||||
Uint32 end_ticks;
|
Uint32 end_ticks;
|
||||||
Uint32 duration;
|
Uint32 duration;
|
||||||
Thread_State thread_states[NUM_THREADS] = {0};
|
Thread_State thread_states[NUM_THREADS] = { {0} };
|
||||||
char textBuffer[1024];
|
char textBuffer[1024];
|
||||||
int loop_count;
|
int loop_count;
|
||||||
int content_count;
|
int content_count;
|
||||||
|
|||||||
Reference in New Issue
Block a user