From: Marc Dionne Date: Thu, 31 Dec 2009 16:08:32 +0000 (-0500) Subject: Build fix: restore centry in ptutils.c X-Git-Tag: openafs-devel-1_5_69~55 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a5d054668a8ec5f0cff2e446512a7d027fc65343;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/ptserver/ptutils.c b/src/ptserver/ptutils.c index 900641297..54017929f 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;