mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
vol/salvaged.c: Remove unused variable
It was incremented from an uninitialized value, which caused a build error on the OS X 10.9 buildslave. Since it's unused, just remove it entirely. Change-Id: I845e9139ffd27ba7bf4e010cf4e5625658125486 Reviewed-on: http://gerrit.openafs.org/10698 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Mark Vitale <mvitale@sinenomine.net> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
8105129987
commit
d72ed6ad4c
@ -191,7 +191,7 @@ enum optionsList {
|
||||
static int
|
||||
handleit(struct cmd_syndesc *opts, void *arock)
|
||||
{
|
||||
char pname[100], *temp;
|
||||
char pname[100];
|
||||
afs_int32 seenpart = 0, seenvol = 0;
|
||||
VolumeId vid = 0;
|
||||
struct cmdline_rock *rock = (struct cmdline_rock *)arock;
|
||||
@ -214,7 +214,6 @@ handleit(struct cmd_syndesc *opts, void *arock)
|
||||
if (cmd_OptionAsString(opts, OPT_parallel, &optstring) == 0) {
|
||||
if (strncmp(optstring, "all", 3) == 0) {
|
||||
PartsPerDisk = 1;
|
||||
temp += 3;
|
||||
}
|
||||
if (strlen(optstring) != 0) {
|
||||
Parallel = atoi(optstring);
|
||||
|
Loading…
Reference in New Issue
Block a user