From f75dc6bb869a0898f3a650b61951a26b85055ecd Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 26 Feb 2004 20:48:09 +0000 Subject: Got rid of an unused-variable compiler-warning. --- Src/Modules/zpty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src/Modules') diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index a3e6f2770..08ec1b2bd 100644 --- a/Src/Modules/zpty.c +++ b/Src/Modules/zpty.c @@ -165,8 +165,9 @@ get_pty(int master, int *retfd) { static char *name; static int mfd, sfd; - +#if defined(I_FIND) && defined(I_PUSH) && defined(__SVR4) int ret; +#endif if (master) { if ((mfd = open("/dev/ptmx", O_RDWR|O_NOCTTY)) < 0) -- cgit 1.4.1