diff options
author | Rich Megginson <rmeggins@redhat.com> | 2010-07-01 11:39:02 -0600 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2010-07-06 10:32:03 -0600 |
commit | 4a103859b7100bc30046ecba3efca2e8f0b09c7d (patch) | |
tree | c6e98af614c13e71852b1da536385220f9324934 /ldap/servers/plugins/replication/windows_protocol_util.c | |
parent | 830d55e8cc9d4a69f099b1c0ee00a93817c8fabb (diff) | |
download | ds-4a103859b7100bc30046ecba3efca2e8f0b09c7d.tar.gz ds-4a103859b7100bc30046ecba3efca2e8f0b09c7d.tar.xz ds-4a103859b7100bc30046ecba3efca2e8f0b09c7d.zip |
Bug 610177 - fix coverity Defect Type: Uninitialized variables issues
https://bugzilla.redhat.com/show_bug.cgi?id=610177
Resolves: bug 610177
Bug Description: fix coverity Defect Type: Uninitialized variables issues
Reviewed by: nhosoi (Thanks!)
Branch: HEAD
Fix Description: Initialize variables to 0, NULL, or an appropriate error
code. Got rid of the unused lexer code.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
Diffstat (limited to 'ldap/servers/plugins/replication/windows_protocol_util.c')
-rw-r--r-- | ldap/servers/plugins/replication/windows_protocol_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/plugins/replication/windows_protocol_util.c b/ldap/servers/plugins/replication/windows_protocol_util.c index 65de19dd..3c6b4d4c 100644 --- a/ldap/servers/plugins/replication/windows_protocol_util.c +++ b/ldap/servers/plugins/replication/windows_protocol_util.c @@ -1640,7 +1640,7 @@ is_straight_mapped_attr(const char *type, int is_user /* or group */, int is_nt4 static int is_single_valued_attr(const char *type) { - int found; + int found = 0; size_t offset = 0; char *this_attr = NULL; |