Fix warning in vol/namei_ops.c

Commit 906403c6d7 introduced a warning by
making 'error' unused anywhere. Remove the declaration, as well.

Reviewed-on: http://gerrit.openafs.org/620
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2009-10-08 17:50:06 -05:00 committed by Derrick Brashear
parent 94eae9ed26
commit 6d59a0fcd0

View File

@ -1642,7 +1642,6 @@ namei_ConvertROtoRWvolume(char *pname, afs_uint32 volumeId)
struct ViceInodeInfo info;
struct VolumeDiskHeader h;
char headername[16];
afs_int32 error = 0;
(void)afs_snprintf(headername, sizeof headername, VFORMAT, afs_printable_uint32_lu(volumeId));
(void)afs_snprintf(oldpath, sizeof oldpath, "%s/%s", pname, headername);