mirror of
https://github.com/openbsd/src.git
synced 2024-12-21 23:18:00 -08:00
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
This commit is contained in:
parent
25d70ad5a6
commit
f9b5afeb1c
@ -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 <espie@openbsd.org>
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user