butc: Set but unused variables
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 11 Sep 2010 17:23:11 +0000 (13:23 -0400)
committerDerrick Brashear <shadow@dementia.org>
Mon, 20 Sep 2010 05:32:01 +0000 (22:32 -0700)
commitf1796b0f4ad0202ad32e06bb849f443984cf22b5
treeff5531fd33eddec4651883714f70e42f91ea7e9a
parentb6d478c2159bb1baed034fc031a43742d5db0298
butc: Set but unused variables

Remove unused variable taskId

writeData() systematically returns 0, so make it void and adapt
call sites that assigned the return value but never used it.
Also move the function up in the file to avoid the need for a
forward declaration, and make it static since it's only used here.

Spotted by gcc 4.6

Change-Id: I2f61c0395796498175f2cb9131066b00657f99a7
Reviewed-on: http://gerrit.openafs.org/2785
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/butc/read_tape.c
src/butc/tcudbprocs.c