From 6d59a0fcd04b7eaa917a84b98c7a932734e69b91 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 8 Oct 2009 17:50:06 -0500 Subject: [PATCH] Fix warning in vol/namei_ops.c Commit 906403c6d770026fd9da606ea468e47ee911f896 introduced a warning by making 'error' unused anywhere. Remove the declaration, as well. Reviewed-on: http://gerrit.openafs.org/620 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- src/vol/namei_ops.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vol/namei_ops.c b/src/vol/namei_ops.c index 4b4c05ae10..84d22d01ae 100644 --- a/src/vol/namei_ops.c +++ b/src/vol/namei_ops.c @@ -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);