URL:
https://github.com/SSSD/sssd/pull/5213
Title: #5213: config: [RFE] Add "enabled" option to domain section
alexey-tikhonov commented:
"""
Pushed PR: #5213
* `master`
*
[
ff8d7b8](https://github.com/SSSD/sssd/commit/ff8d7b8f0dca57d04ed4157bc60a... -
config: [RFE] Add "enabled" option to domain section
This patch introduced following compilation warning:
```
../src/confdb/confdb.c: In function ‘confdb_get_domains’:
../src/confdb/confdb.c:2499:12: warning: ‘enabled’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
2499 | if (enabled && !string_in_list(all_domains[idx], domlist, false))
{
| ^
../src/confdb/confdb.c:2460:10: note: ‘enabled’ was declared here
2460 | bool enabled;
| ^~~~~~~
```
This is clearly false positive, but still would be good to fix.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5213#issuecomment-658725445