The following commit has been merged in the master branch:
commit 9ba35b6a30e3537f010ec9ae1acde2c83963cb6c
Author: Indira Sawant <[email protected]>
Date:   Wed Nov 2 19:48:39 2022 +0530

    viced: Remove dead assignments
    
    Clang scan-build reported variables being assigned value but not used.
    
    src/viced/host.c:
        >> Dead assignment: Value stored to 'code' is never read
    
    Remove the assigned values that are never used.
    
    Myself([email protected]) and Kailas Zadbuke([email protected])
    worked on this together and submitting this patch.
    
    Change-Id: Ia74aa6df1e918d7f07755c606571eb01d518b482
    Signed-off-by: Indira Sawant <[email protected]>
    Reviewed-on: https://gerrit.openafs.org/15188
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: BuildBot <[email protected]>

 src/viced/callback.c |  2 +-
 src/viced/host.c     |  2 +-
 src/viced/viced.c    | 11 ++++-------
 3 files changed, 6 insertions(+), 9 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to