The following commit has been merged in the master branch:
commit 465701c8f1a6dacc7e8adeef47a73eca85a928a8
Author: Benjamin Kaduk <[email protected]>
Date: Sat Sep 8 21:25:40 2018 -0500
butc: Initialize RPC outputs at top of function
RPC handlers are a little bit special in that their output parameters
are discarded on error and an Rx abort is sent instead of the usual
response fields. Nonetheless, it is good code hygeine to adhere to
the practices we use for the rest of the functions in the tree:
initialize output variables before the first return.
Change-Id: I6c2e25b04ccb6277bd28e398121723b92fe42b04
Reviewed-on: https://gerrit.openafs.org/13314
Tested-by: BuildBot <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
src/butc/tcprocs.c | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs