some more cleanup

This commit is contained in:
speedie 2023-05-08 18:15:20 +02:00
parent c7e0e5d74b
commit 04add5df1a
3 changed files with 2 additions and 5 deletions

View file

@ -3,7 +3,7 @@ char sixd_to_8bit(int x) {
}
void init_appearance(void) {
int i = 0, j = 0;
int i = 0;
char cbuf[8];

View file

@ -133,11 +133,9 @@ void readfile(void) {
if (!o) longestedge = imagegaps = 0;
#endif
if (i == olistcount) {
listcount = i;
if (i == listcount) {
listchanged = 0;
} else {
olistcount = listcount;
listcount = i;
listchanged = 1;

View file

@ -237,7 +237,6 @@ static size_t nextrune(int inc);
static char **list;
static size_t listsize;
static int listcount;
static int olistcount;
static int listchanged = 0;
// user configuration