]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Fix macos warnings at compile time.
authorPaul Donald <newtwen+github@gmail.com>
Thu, 25 Apr 2024 02:02:04 +0000 (04:02 +0200)
committerVincent Bernat <vincent@bernat.ch>
Thu, 25 Apr 2024 05:32:47 +0000 (07:32 +0200)
commita3c9f9ee559b6aa14be5d01cf8bdb0c854f330f0
tree6f98079346cedd638bb15832112d7214dd5a5bf6
parent4665ed5473d7a06f026d60ab20560585769fc1ac
Fix macos warnings at compile time.

If this happens:

lldpd.c:1577:14: warning: variable 'pidfile' set but not used [-Wunused-but-set-variable]
        const char *pidfile = LLDPD_PID_FILE;

Then the other places using pidfile should get the same ifndef treatment
src/daemon/lldpd.c