summaryrefslogtreecommitdiff
path: root/sem_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sem_init.c')
-rw-r--r--sem_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sem_init.c b/sem_init.c
index f980729..0382b62 100644
--- a/sem_init.c
+++ b/sem_init.c
@@ -85,7 +85,7 @@ sem_init (sem_t * sem, int pshared, unsigned int value)
*/
{
int result = 0;
- sem_t s;
+ sem_t s = NULL;
if (pshared != 0)
{