From 8502130f7ca2f43bb04317b756786d0127dc5a6b Mon Sep 17 00:00:00 2001 From: marcel Date: Sun, 16 Feb 2014 20:13:18 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.freebsd.org/base/stable/10@261995 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- games/fortune/fortune/fortune.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index 4b2ffa750..2fb2be0e2 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); } -- 2.42.0