Skip to content

Commit

Permalink
fix valgrind warnings about uninitialized memory in syscall arguments
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442309 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Stefan Fritsch committed Feb 4, 2013
1 parent 0aeacb0 commit 0d5525c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/slotmem/mod_slotmem_shm.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static apr_status_t unixd_set_shm_perms(const char *fname)
{
#ifdef AP_NEED_SET_MUTEX_PERMS
#if APR_USE_SHMEM_SHMGET || APR_USE_SHMEM_SHMGET_ANON
struct shmid_ds shmbuf;
struct shmid_ds shmbuf = { { 0 } };
key_t shmkey;
int shmid;

Expand Down

0 comments on commit 0d5525c

Please sign in to comment.