mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix unused variable warning for clang analyzer.
This commit is contained in:
parent
84adade86c
commit
2902ee133b
2 changed files with 3 additions and 0 deletions
|
|
@ -534,6 +534,8 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode,
|
||||||
LOGIN_SETALL & ~LOGIN_SETUSER & ~LOGIN_SETGROUP) != 0)
|
LOGIN_SETALL & ~LOGIN_SETUSER & ~LOGIN_SETGROUP) != 0)
|
||||||
log_warn("unable to setusercontext %s: %s",
|
log_warn("unable to setusercontext %s: %s",
|
||||||
cfg->username, strerror(errno));
|
cfg->username, strerror(errno));
|
||||||
|
#else
|
||||||
|
(void)pwd;
|
||||||
#endif /* HAVE_SETUSERCONTEXT */
|
#endif /* HAVE_SETUSERCONTEXT */
|
||||||
}
|
}
|
||||||
#endif /* HAVE_GETPWNAM */
|
#endif /* HAVE_GETPWNAM */
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
16 July 2020: Wouter
|
16 July 2020: Wouter
|
||||||
- Fix check conf test for referencing installation paths.
|
- Fix check conf test for referencing installation paths.
|
||||||
|
- Fix unused variable warning for clang analyzer.
|
||||||
|
|
||||||
16 July 2020: George
|
16 July 2020: George
|
||||||
- Introduce 'include-toplevel:' configuration option.
|
- Introduce 'include-toplevel:' configuration option.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue