summaryrefslogtreecommitdiff
path: root/sem_init.c
diff options
context:
space:
mode:
authorrpj <rpj>2003-08-13 15:10:53 +0000
committerrpj <rpj>2003-08-13 15:10:53 +0000
commit414f4bd7e70d94025576d9264c86da63c506f6ca (patch)
treeed0d8de3bd5fbccd0191b3e6cc1e0d86ebe8ff97 /sem_init.c
parent614c09bf607cf77c70c7435cd615c9f8b684bc5e (diff)
Bug fixes plus adaptation to current MinGW/MsysDTK environment. Changes to tests/benchmarks.
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)
{