From: espie Date: Thu, 18 Jan 2024 15:34:29 +0000 (+0000) Subject: fix macro to look more like a function, remove extraneous ; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f9b5afeb1cfdbbf85b6d5c2ba5bfab493c5304b3;p=openbsd 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 --- 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)