mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
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:
parent
94eae9ed26
commit
6d59a0fcd0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user