1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
systemd-stable/src/nss-systemd
Frantisek Sumsal d7ac09520b tree-wide: mark set-but-not-used variables as unused to make LLVM happy
LLVM 13 introduced `-Wunused-but-set-variable` diagnostic flag, which
trips over some intentionally set-but-not-used variables or variables
attached to cleanup handlers with side effects (`_cleanup_umask_`,
`_cleanup_(notify_on_cleanup)`, `_cleanup_(restore_sigsetp)`, etc.):

```
../src/basic/process-util.c:1257:46: error: variable 'saved_ssp' set but not used [-Werror,-Wunused-but-set-variable]
        _cleanup_(restore_sigsetp) sigset_t *saved_ssp = NULL;
                                                     ^
                                                     1 error generated.
```
2021-09-15 13:09:45 +02:00
..
nss-systemd.c nss-systemd: ensure returned strings point into provided buffer 2021-09-09 15:07:57 -05:00
nss-systemd.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
nss-systemd.sym nss-systemd: synthesize NSS shadow/gshadow records from userdb, as well 2021-05-08 14:35:28 +02:00
userdb-glue.c tree-wide: mark set-but-not-used variables as unused to make LLVM happy 2021-09-15 13:09:45 +02:00
userdb-glue.h nss-systemd: synthesize NSS shadow/gshadow records from userdb, as well 2021-05-08 14:35:28 +02:00