mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-02 08:21:09 +01:00
Got rid of an unused-variable compiler-warning.
This commit is contained in:
parent
40dae2a82d
commit
f75dc6bb86
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue