Avoid GCC warning on m68k.

This commit is contained in:
thorpej 1998-03-05 08:10:06 +00:00
parent d24f809241
commit e0008f3a90

View File

@ -1,4 +1,4 @@
/* $NetBSD: commands.c,v 1.18 1998/03/04 13:51:57 christos Exp $ */
/* $NetBSD: commands.c,v 1.19 1998/03/05 08:10:06 thorpej Exp $ */
/*
* Copyright (c) 1988, 1990, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
#else
__RCSID("$NetBSD: commands.c,v 1.18 1998/03/04 13:51:57 christos Exp $");
__RCSID("$NetBSD: commands.c,v 1.19 1998/03/05 08:10:06 thorpej Exp $");
#endif
#endif /* not lint */
@ -1419,6 +1419,10 @@ shell(argc, argv)
{
long oldrows, oldcols, newrows, newcols, err;
#ifdef __GNUC__
(void) &err; /* XXX avoid GCC warning */
#endif
setcommandmode();
err = (TerminalWindowSize(&oldrows, &oldcols) == 0) ? 1 : 0;