]> 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>
Sun, 17 Jan 2021 20:24:29 +0000 (21:24 +0100)
commit528d644f02f84eb3b5fbdce11659ff484bdd4e4a
tree240c9198be9eda506b738e497972d70c005b1aa1
parente18d1dc58984e0571d5da787c187869b2c045982
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