]> git.pond.sub.org Git - empserver/commit
common/pathfind: A more portable DPRINTF()
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 30 Dec 2020 12:40:47 +0000 (13:40 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 23 Jan 2021 07:39:13 +0000 (08:39 +0100)
commita0d1f63729c4a867717bb48d7a9e45348502ddbf
tree12a0e4a76837779ffbfb26654ac74582427a5a2d
parentae421dafc2958f1acb2e7dba7f152e36f5421379
common/pathfind: A more portable DPRINTF()

C99 requires at least one argument for the "..." in a variadic macro.
GCC and Clang don't care, but warn with -pedantic.  Solaris cc warns.

The warning is easy to avoid, so do it.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/common/pathfind.c