-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/08/2009 06:21 AM, Sumit Bose wrote:
I can see only two warnings:
On Fri, Sep 04, 2009 at 07:32:40PM -0400, Dmitri Pal wrote:
> Steve,
>
> I ran a build today and saw some unpleasant warnings especially about
> the uninitialized variables.
>
> ../../server/providers/ldap/sdap_async.c: In function
> 'sdap_get_users_save_done':
> ../../server/providers/ldap/sdap_async.c:1427: warning: 'timestamp' may
> be used uninitialized in this function
Although the code takes care that timestamp is properly initialized I've
add a '= NULL' to suppress the warning.
> ../../server/db/sysdb.c: In function ?sysdb_init?:
> ../../server/db/sysdb.c:597: warning: ?path? may be used uninitialized
> in this function
> ../../server/tools/sss_useradd.c: In function ?main?:
> ../../server/tools/sss_useradd.c:386: warning: assignment discards
> qualifiers from pointer target type
> ../../server/tools/sss_useradd.c:424: warning: ?ret? is used
> uninitialized in this function
> ../../server/tools/sss_usermod.c: In function ?main?:
> ../../server/tools/sss_usermod.c:437: warning: assignment discards
> qualifiers from pointer target type
> ../../server/tools/sss_groupmod.c: In function ?main?:
> ../../server/tools/sss_groupmod.c:373: warning: assignment discards
> qualifiers from pointer target type
> ../../server/responder/nss/nsssrv_cmd.c: In function ?fill_grent?:
> ../../server/responder/nss/nsssrv_cmd.c:1371: warning: ?i? may be used
> uninitialized in this function
The value of count might have an unexpected value, but in this case
fill_grent will return an error, too.
I cannot see the other warnings, what compiler options and code revision
are you using?
bye,
Sumit
Ack
- --
Stephen Gallagher
RHCE 804006346421761
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkqmqeAACgkQeiVVYja6o6NvMQCeIM8QokUrVPn9aw1Z1hfsaib9
Ev4An0Zp9KV88+YQEy84Utwi96hTEo1k
=bIzx
-----END PGP SIGNATURE-----