1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Remove dead variable.

This commit is contained in:
Joseph Koshy 2005-04-20 04:43:30 +00:00
parent 96a041b533
commit e1691ef740
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145313
2 changed files with 4 additions and 6 deletions

View File

@ -303,7 +303,7 @@ MODULE_VERSION(pmc, PMC_VERSION);
static int
pmc_debugflags_parse(char *newstr, char *fence)
{
char c, *e, *p, *q;
char c, *p, *q;
unsigned int tmpflags;
int level;
char tmpbuf[4]; /* 3 character keyword + '\0' */
@ -312,7 +312,6 @@ pmc_debugflags_parse(char *newstr, char *fence)
level = 0xF; /* max verbosity */
p = newstr;
e = newstr + strlen(p);
for (; p < fence && (c = *p);) {
@ -331,7 +330,7 @@ pmc_debugflags_parse(char *newstr, char *fence)
else if (strncmp(tmpbuf, S, 3) == 0) \
tmpflags |= __PMCDFMIN(F)
if (e - p > 6 && strncmp(p, "level=", 6) == 0) {
if (fence - p > 6 && strncmp(p, "level=", 6) == 0) {
p += 6; /* skip over keyword */
level = strtoul(p, &q, 16);
}

View File

@ -303,7 +303,7 @@ MODULE_VERSION(pmc, PMC_VERSION);
static int
pmc_debugflags_parse(char *newstr, char *fence)
{
char c, *e, *p, *q;
char c, *p, *q;
unsigned int tmpflags;
int level;
char tmpbuf[4]; /* 3 character keyword + '\0' */
@ -312,7 +312,6 @@ pmc_debugflags_parse(char *newstr, char *fence)
level = 0xF; /* max verbosity */
p = newstr;
e = newstr + strlen(p);
for (; p < fence && (c = *p);) {
@ -331,7 +330,7 @@ pmc_debugflags_parse(char *newstr, char *fence)
else if (strncmp(tmpbuf, S, 3) == 0) \
tmpflags |= __PMCDFMIN(F)
if (e - p > 6 && strncmp(p, "level=", 6) == 0) {
if (fence - p > 6 && strncmp(p, "level=", 6) == 0) {
p += 6; /* skip over keyword */
level = strtoul(p, &q, 16);
}