From 655f7c3184fe2f1eb039211e689c2fe037fa8320 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 25 Jul 2025 11:20:03 -0400 Subject: all: clean up misleading indentation warnings Misleading indentation warnings are actually useful, as they will occasionally reveal actual bugs (cf the apple `goto fail` security bug from a few years ago). Newer versions of clang (at least) are more aggressive about warnings in this regard, which has exposed a few warnings that are annoying. However, they are easy to address. --- src/libsunrpc/server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libsunrpc') diff --git a/src/libsunrpc/server.c b/src/libsunrpc/server.c index b94b7643..b9a644f0 100644 --- a/src/libsunrpc/server.c +++ b/src/libsunrpc/server.c @@ -91,7 +91,8 @@ sunrpcrequestthread(void *v) while((m = recvp(srv->crequest)) != nil){ /* could look up in cache here? */ -if(srv->chatty) fprint(2, "sun msg %p count %d\n", m, m->count); + if(srv->chatty) + fprint(2, "sun msg %p count %d\n", m, m->count); m->srv = srv; p = m->data; ep = p+m->count; -- cgit v1.2.3