butc: Initialize RPC outputs at top of function 14/13314/2
authorBenjamin Kaduk <kaduk@mit.edu>
Sun, 9 Sep 2018 02:25:40 +0000 (21:25 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 30 Oct 2020 01:32:54 +0000 (21:32 -0400)
commit465701c8f1a6dacc7e8adeef47a73eca85a928a8
tree5301b0a282c82d4e3ff8ef399dc3e51b8c4438c2
parent3e3fce24da31a31ca9a3f4ad356c4e4eaf0ad897
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 <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/butc/tcprocs.c