The following commit has been merged in the master branch:
commit 6fd1db1a86e830b3758772a79f25c30080c4dd06
Author: Simon Wilkinson <[email protected]>
Date: Sun Apr 25 20:23:27 2010 +0100
Demand Attach: Simplify __VVGC_entry_cl_add
The __VVGC_entry_cl_add was giving an uninitialised variable warning
for empty_idx, because it was using a separate variable, empty_found
as a sentinel for when empty_idx was holding a real value. Simplify all
of this by removing the sentinel, and making empty_idx being -1 mean
'not found', and a real value imply found.
Change-Id: I6c485993df1ff8dfd27824234c811af998ff94fa
Reviewed-on: http://gerrit.openafs.org/1833
Reviewed-by: Tom Keiser <[email protected]>
Reviewed-by: Alistair Ferguson <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
Tested-by: Derrick Brashear <[email protected]>
src/vol/vg_cache.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs