]> arthur.barton.de Git - ngircd-alex.git/commit
Fix compiler warning in ForwardLookup()
authorAlexander Barton <alex@barton.de>
Mon, 29 Jan 2018 22:34:40 +0000 (23:34 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 29 Jan 2018 22:34:40 +0000 (23:34 +0100)
commit7ed22d0b22dc1ed624c3931e1cff9e21f4156bd9
tree3594b4d3ede6d51b17f446bc775a900b2e796089
parentd9f81ac66942000861d46cd33708585a729b1207
Fix compiler warning in ForwardLookup()

When compiling without "working getaddrinfo()", the "af" parameter of
ForwardLookup() is unused by that function. Mark it as such!

This prevents the following compiler warning:

  resolve.c:235:56: warning: unused parameter ‘af’
    [-Wunused-parameter]
src/ngircd/resolve.c