From a3bfaed262bea92052e60860ec30c3c041bb2924 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 7 Oct 2018 05:22:32 +0000 Subject: [PATCH] Mostly useless const-ifying and minor variable scope reduction in cache1d git-svn-id: https://svn.eduke32.com/eduke32@7030 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/cache1d.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/source/build/src/cache1d.cpp b/source/build/src/cache1d.cpp index b74a1b6b8..a89467596 100644 --- a/source/build/src/cache1d.cpp +++ b/source/build/src/cache1d.cpp @@ -761,10 +761,10 @@ int initgroupfile(const char *filename) kread_grp(numgroupfiles,gfilelist[numgroupfiles],gnumfiles[numgroupfiles]<<4); - int32_t j = (gnumfiles[numgroupfiles]+1)<<4, k; + int32_t j = (gnumfiles[numgroupfiles]+1)<<4; for (bssize_t i=0; i