summaryrefslogtreecommitdiffstats
path: root/src/monitor
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-10-07 23:54:51 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-09 17:22:05 +0200
commitd66d15bf97bfaf4b851e96717caeeef8581d5777 (patch)
tree5155d053f7c9fdbbc97b0d70031e5462a90b6ccf /src/monitor
parent1925ce32f7c1dc226be31d4301a0a1dbb2448baa (diff)
downloadsssd-d66d15bf97bfaf4b851e96717caeeef8581d5777.tar.gz
sssd-d66d15bf97bfaf4b851e96717caeeef8581d5777.tar.xz
sssd-d66d15bf97bfaf4b851e96717caeeef8581d5777.zip
SDAP: Suppress warning maybe-uninitialized
There is a warning with some version of gcc (4.9.1, 4.4.7). In my opinion, variable "a" should be initialized every time if "maps" is not NULL. src/providers/ldap/sdap.c: In function 'sdap_parse_entry': src/providers/ldap/sdap.c:481:56: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] for (ai = a; ai < attrs_num; ai++) { ^ src/providers/ldap/sdap.c:307:9: note: 'a' was declared here int a, i, ret, ai; ^ CCLD libsss_ldap_common.la Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/monitor')
0 files changed, 0 insertions, 0 deletions