Nuke a totally pointless optional debug option

Sponsored by: DARPA and NAI Labs.
This commit is contained in:
Poul-Henning Kamp 2002-04-07 10:39:23 +00:00
parent 264bb28fd4
commit 24ba60e3a7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94061
2 changed files with 0 additions and 30 deletions

View File

@ -159,12 +159,7 @@ enum {
int rflag;
int disable_write; /* set to disable writing to disk label */
#ifdef DEBUG
int debug;
#define OPTIONS "BNRWb:denrs:w"
#else
#define OPTIONS "BNRWb:enrs:w"
#endif
int
main(int argc, char *argv[])
@ -220,11 +215,6 @@ main(int argc, char *argv[])
usage();
op = WRITE;
break;
#ifdef DEBUG
case 'd':
debug++;
break;
#endif
case '?':
default:
usage();
@ -628,11 +618,6 @@ makebootarea(char *boot, struct disklabel *dp, int f)
}
#endif
}
#ifdef DEBUG
if (debug)
fprintf(stderr, "bootstraps: xxboot = %s, bootxx = %s\n",
xxboot, bootxx ? bootxx : "NONE");
#endif
/*
* Strange rules:

View File

@ -159,12 +159,7 @@ enum {
int rflag;
int disable_write; /* set to disable writing to disk label */
#ifdef DEBUG
int debug;
#define OPTIONS "BNRWb:denrs:w"
#else
#define OPTIONS "BNRWb:enrs:w"
#endif
int
main(int argc, char *argv[])
@ -220,11 +215,6 @@ main(int argc, char *argv[])
usage();
op = WRITE;
break;
#ifdef DEBUG
case 'd':
debug++;
break;
#endif
case '?':
default:
usage();
@ -628,11 +618,6 @@ makebootarea(char *boot, struct disklabel *dp, int f)
}
#endif
}
#ifdef DEBUG
if (debug)
fprintf(stderr, "bootstraps: xxboot = %s, bootxx = %s\n",
xxboot, bootxx ? bootxx : "NONE");
#endif
/*
* Strange rules: