git: fix(diff): remove unused jackpot counter in check()

Matthew Dillon dillon at crater.dragonflybsd.org
Wed May 27 17:40:37 PDT 2026


commit e13731e4b9e149e26dfba218b013d3dde448e589
Author: Abdelkader Boudih <dragonflybsd at seuros.com>
Date:   Sat May 23 14:04:42 2026 +0000

    fix(diff): remove unused jackpot counter in check()
    
    The jackpot variable tracked hash collision false-matches but was
    only referenced in a commented-out debug fprintf. Remove the variable,
    its increment, and the dead comment block.

Summary of changes:
 usr.bin/diff/diffreg.c | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e13731e4b9e149e26dfba218b013d3dde448e589


-- 
DragonFly BSD source repository


More information about the Commits mailing list