groups: don't test printf and putchar calls for failure
authorJim Meyering <meyering@redhat.com>
Sun, 27 Jan 2008 23:08:32 +0000 (00:08 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 14 Feb 2008 10:31:57 +0000 (11:31 +0100)
commitcc8b73b1d9cb63c89a76db8ece8a699fb98fff1a
tree4dd2caba8f28bf2016bcd662654e90ae44240ee5
parent167b8025aca487de001da2448c1aebc2747bc1d3
groups: don't test printf and putchar calls for failure

They are unnecessary, since we use gnulib's closeout module.
* src/group-list.c (print_group): Remove explicit error tests.
* src/groups.c (main): Likewise.
(write_error): Remove function.
src/group-list.c
src/groups.c