From cf2bf0952498059c6a8987bb54b58987748af7e2 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 4 Aug 2020 14:04:52 +0200 Subject: pubkey: isblank is a subset of isspace Therefore, there's no need to test both. Signed-off-by: Jason A. Donenfeld --- src/pubkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pubkey.c b/src/pubkey.c index 19235fc..a78fe11 100644 --- a/src/pubkey.c +++ b/src/pubkey.c @@ -31,7 +31,7 @@ int pubkey_main(int argc, char *argv[]) for (;;) { trailing_char = getc(stdin); - if (!trailing_char || isspace(trailing_char) || isblank(trailing_char)) + if (!trailing_char || isspace(trailing_char)) continue; if (trailing_char == EOF) break; -- cgit v1.2.3-59-g8ed1b