* tests/test-sethostname.c (main): Remove an unused variable.
2011-12-03 Bruno Haible <bruno@clisp.org>
+ sethostname tests: Avoid a gcc warning.
+ * tests/test-sethostname.c (main): Remove an unused variable.
+
Tweak last commit.
* modules/sethostname-tests (Files): Sort by decreasing importance.
(configure.ac): Check for geteuid.
char origname[HOST_NAME_MAX];
char newname[HOST_NAME_MAX];
char longname[HOST_NAME_MAX + 2];
- int rcg, rcs, i;
+ int rcs, i;
/* skip the tests if we don't have root privilege. this does not
consider things like CAP_SYS_ADMIN (linux) or PRIV_SYS_ADMIN