From 6826b647c335342142167108344545d7f7b56f79 Mon Sep 17 00:00:00 2001 From: dtb Date: Sat, 13 Aug 2022 16:32:55 -0400 Subject: [PATCH] remove unnecessary assignments --- include/ctypef.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ctypef.c b/include/ctypef.c index 7cd10fc..9fb3dfb 100644 --- a/include/ctypef.c +++ b/include/ctypef.c @@ -49,7 +49,7 @@ int _ispunct(int c){ return c != ' ' && !isalnum(c) }; int -_tolower(int c){ return c -= isupper(c) * ('A' - 'a'); } +_tolower(int c){ return c - isupper(c) * ('A' - 'a'); } int -_toupper(int c){ return c += islower(c) * ('A' - 'a'); } +_toupper(int c){ return c + islower(c) * ('A' - 'a'); }