From: Matthew Fernandez Date: Tue, 22 Jun 2021 04:08:33 +0000 (-0700) Subject: remove some unnecessary bracketing in memiofread X-Git-Tag: 2.48.0~35^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=365f6a6888aed8fc7ef28d13040791bb64a67bf1;p=graphviz remove some unnecessary bracketing in memiofread --- diff --git a/lib/cgraph/io.c b/lib/cgraph/io.c index 147de0d21..402ebf90c 100644 --- a/lib/cgraph/io.c +++ b/lib/cgraph/io.c @@ -66,7 +66,7 @@ memiofread(void *chan, char *buf, int bufsize) * and next character is non-null (we are working with * null-terminated strings. */ - } while ((c != '\n') && (l < bufsize) && (c = *ptr++)); + } while (c != '\n' && l < bufsize && (c = *ptr++)); s->cur += l; return l; }