summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-02-13 05:28:38 +0000
committerJim Meyering <jim@meyering.net>1996-02-13 05:28:38 +0000
commitc4b593538ba156b574b5abbfdc9d64a33f94b8e5 (patch)
tree47e3ce02726328913bb9f7ec084bd30d9bb04160 /lib
parent0b2ebf98755aacf850ac68022bbe3b7bd93128ea (diff)
downloadcoreutils-c4b593538ba156b574b5abbfdc9d64a33f94b8e5.tar.xz
Be careful to always return something.
Diffstat (limited to 'lib')
-rw-r--r--lib/canon-host.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/canon-host.c b/lib/canon-host.c
index 83b2cb9ad..f302f5736 100644
--- a/lib/canon-host.c
+++ b/lib/canon-host.c
@@ -72,8 +72,6 @@ canon_host (host)
if (he)
return (char *) (he->h_name);
}
-
-#else /* ! HAVE_GETHOSTBYNAME */
- return 0;
#endif /* HAVE_GETHOSTBYNAME */
+ return 0;
}