diff options
author | marcel <marcel@FreeBSD.org> | 2014-02-16 20:13:18 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-02-16 20:13:18 +0000 |
commit | a0e0e5fec0946cd27d467777523abc62733f6e72 (patch) | |
tree | 32e4700f1f013b1e0b37b2353dd9dc43b60864a6 /games | |
parent | ad410a47a2e8731bbc7320e0f4fc3bf4095f788f (diff) | |
download | FreeBSD-src-a0e0e5fec0946cd27d467777523abc62733f6e72.zip FreeBSD-src-a0e0e5fec0946cd27d467777523abc62733f6e72.tar.gz |
MFC r259057:
Remove "Warning: file \"%s\" unreadable". It was introduced with revision
44599 and turned less than useful ever since fortunes-o.dat got removed.
Diffstat (limited to 'games')
-rw-r--r-- | games/fortune/fortune/fortune.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index 4b2ffa7..2fb2be0 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -806,10 +806,6 @@ is_fortfile(const char *file, char **datp, char **posp, int check_for_offend) strcat(datfile, ".dat"); if (access(datfile, R_OK) < 0) { DPRINTF(2, (stderr, "FALSE (no readable \".dat\" file)\n")); -#ifdef DEBUG - if (Debug < 2) - DPRINTF(0, (stderr, "Warning: file \"%s\" unreadable\n", datfile)); -#endif free(datfile); return (FALSE); } |