aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 8c2ce7bb..0d7bccdb 100644
--- a/socket.c
+++ b/socket.c
@@ -223,7 +223,7 @@ int UnixOpen(const char *path)
sigset_t allsigs;
#endif /* HAVE_SIGPROCMASK */
- int stat, sock = -1;
+ int sock = -1;
struct sockaddr_un ad;
memset(&ad, 0, sizeof(ad));
ad.sun_family = AF_UNIX;