1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 18:10:56 +01:00

Got rid of an unused-variable compiler-warning.

This commit is contained in:
Wayne Davison 2004-02-26 20:48:09 +00:00
parent 40dae2a82d
commit f75dc6bb86

View file

@ -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)