test-userspec.c: avoid compiler warnings
authorJim Meyering <meyering@redhat.com>
Tue, 26 Jan 2010 08:51:26 +0000 (09:51 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 26 Jan 2010 08:51:26 +0000 (09:51 +0100)
commit1c9217c42e20cb34140f66b58bca543fd14c4aea
treea87c6d15cf23b954adae7acf41cc69a769281d8e
parenta26433c9206b551456ed9b1e329c5c1f4cb70525
test-userspec.c: avoid compiler warnings

* tests/test-userspec.c (main): Avoid shadowing ("uid"),
and "initialization discards qualifiers..." warnings.
Put the first "uid" in its own scope, and make char* members "const".
ChangeLog
tests/test-userspec.c