git: fix(monop): remove unused rnt variable in printsq()

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


commit 8704f773fabd66364970eef77e95e0562ff99320
Author: Abdelkader Boudih <dragonflybsd at seuros.com>
Date:   Sat May 23 14:00:47 2026 +0000

    fix(monop): remove unused rnt variable in printsq()
    
    The railroad rent was computed into 'rnt' but never used; the printf
    already calculates the same value inline via 25 << (num_rr - 1).

Summary of changes:
 games/monop/print.c | 3 ---
 1 file changed, 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8704f773fabd66364970eef77e95e0562ff99320


-- 
DragonFly BSD source repository


More information about the Commits mailing list