From f9b5afeb1cfdbbf85b6d5c2ba5bfab493c5304b3 Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 18 Jan 2024 15:34:29 +0000 Subject: [PATCH] fix macro to look more like a function, remove extraneous ; (clang's -Weverything would correctly warn about the resulting empty statement) No generated code change --- usr.bin/tsort/tsort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tsort/tsort.c b/usr.bin/tsort/tsort.c index 3e0e1abf73c..cc166031f74 100644 --- a/usr.bin/tsort/tsort.c +++ b/usr.bin/tsort/tsort.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tsort.c,v 1.37 2019/07/11 17:28:32 mestre Exp $ */ +/* $OpenBSD: tsort.c,v 1.38 2024/01/18 15:34:29 espie Exp $ */ /* ex:ts=8 sw=4: * * Copyright (c) 1999-2004 Marc Espie @@ -448,7 +448,7 @@ dequeue(struct array *h) enqueue((h), (n)); \ else \ (h)->t[(h)->entries++] = (n); \ - } while(0); + } while(0) static void enqueue(struct array *h, struct node *n) -- 2.20.1