From a5d054668a8ec5f0cff2e446512a7d027fc65343 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Thu, 31 Dec 2009 11:08:32 -0500 Subject: [PATCH] Build fix: restore centry in ptutils.c The declaration of centry is needed when supergroups are not enabled. Restore it within the ifdef so that we don't get an unused variable warning if supergroups are enabled. Change-Id: I0e7916b7898cdd5c47accb7f185764bbb1f2e94d Reviewed-on: http://gerrit.openafs.org/1054 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/ptserver/ptutils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ptserver/ptutils.c b/src/ptserver/ptutils.c index 9006412972..54017929fe 100644 --- a/src/ptserver/ptutils.c +++ b/src/ptserver/ptutils.c @@ -1859,6 +1859,7 @@ ChangeEntry(struct ubik_trans *at, afs_int32 aid, afs_int32 cid, char *name, afs afs_int32 nextpos; #else afs_int32 nptr; + struct contentry centry; #endif struct prentry tentry, tent; afs_int32 loc;