mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-05 00:07:51 +02:00
Be careful to always return something.
This commit is contained in:
+1
-3
@@ -72,8 +72,6 @@ canon_host (host)
|
||||
if (he)
|
||||
return (char *) (he->h_name);
|
||||
}
|
||||
|
||||
#else /* ! HAVE_GETHOSTBYNAME */
|
||||
return 0;
|
||||
#endif /* HAVE_GETHOSTBYNAME */
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user