Module Name: src Committed By: mrg Date: Wed Oct 30 08:38:40 UTC 2013
Modified Files: src/bin/sh: input.c Log Message: #ifdef a variable decl/setting with it's use. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/bin/sh/input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/sh/input.c diff -u src/bin/sh/input.c:1.45 src/bin/sh/input.c:1.46 --- src/bin/sh/input.c:1.45 Wed Mar 28 20:11:25 2012 +++ src/bin/sh/input.c Wed Oct 30 08:38:40 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: input.c,v 1.45 2012/03/28 20:11:25 christos Exp $ */ +/* $NetBSD: input.c,v 1.46 2013/10/30 08:38:40 mrg Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)input.c 8.3 (Berkeley) 6/9/95"; #else -__RCSID("$NetBSD: input.c,v 1.45 2012/03/28 20:11:25 christos Exp $"); +__RCSID("$NetBSD: input.c,v 1.46 2013/10/30 08:38:40 mrg Exp $"); #endif #endif /* not lint */ @@ -238,7 +238,9 @@ preadbuffer(void) { char *p, *q; int more; +#ifndef SMALL int something; +#endif char savec; if (parsefile->strpush) { @@ -262,7 +264,9 @@ again: q = p = parsenextc; /* delete nul characters */ +#ifndef SMALL something = 0; +#endif for (more = 1; more;) { switch (*p) { case '\0': @@ -279,7 +283,9 @@ again: break; default: +#ifndef SMALL something = 1; +#endif break; }