diff --git a/src/afs/afs.h b/src/afs/afs.h index 7872412dff..345cecb91c 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -348,7 +348,8 @@ struct cell_alias { char *cell; }; -#define afs_PutCell(cellp, locktype) +/* In case someday a counterpart for afs_GetCell is needed */ +#define afs_PutCell(cellp, locktype) do {} while(0) /* the unixuser flag bit definitions */ #define UHasTokens 1 /* are the st and ct fields valid (ever set)? */ @@ -536,7 +537,8 @@ struct server { afs_int32 capabilities; }; -#define afs_PutServer(servp, locktype) +/* In case someday a counterpart for afs_GetServer is needed */ +#define afs_PutServer(servp, locktype) do {} while(0) /* structs for some pioctls - these are (or should be) * also in venus.h diff --git a/src/afs/afs_cbqueue.c b/src/afs/afs_cbqueue.c index 2dd6335880..11e3aa3f11 100644 --- a/src/afs/afs_cbqueue.c +++ b/src/afs/afs_cbqueue.c @@ -139,7 +139,9 @@ afs_DequeueCallback(struct vcache *avc) debugvc = avc; if (avc->callsort.prev) { QRemove(&(avc->callsort)); - } else; /* must have got dequeued in a race */ + } else { + /* must have got dequeued in a race */ + } return; } /* afs_DequeueCallback */