Commit
9efc255a makes the numBuffBytes variable unnecessary.
Remove it to clear up an "unused but set" warning.
Change-Id: Ifc50c40542e008d76007c76a9ce146fe6ebab4be
Reviewed-on: http://gerrit.openafs.org/7504
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
struct gator_textcb_entry *newEntries; /*Ptr to new text entries */
struct gator_textcb_hdr *newHdr; /*Ptr to new text hdr */
int bytesToAllocate; /*Num bytes to allocate */
- int numBuffBytes; /*Num bytes in text buffer */
int curr_ent_num; /*Current entry number */
struct gator_textcb_entry *curr_ent; /*Ptr to current entry */
char *curr_buff; /*Ptr to current buff pos */
* always null-terminate them. We also need to allocate the blank
* line buffer.
*/
- numBuffBytes = bytesToAllocate =
+ bytesToAllocate =
a_maxEntriesStored * (a_maxCharsPerEntry + 1);
if (gator_textcb_debug)
fprintf(stderr, "[%s] Allocating %d bytes for the text buffer\n", rn,