diff src/dmfile.c @ 2227:5046458d6c34

Remove unnecessary error message.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Jun 2019 18:32:45 +0300
parents ce3e56cfa9b9
children 36edd316184a
line wrap: on
line diff
--- a/src/dmfile.c	Fri Jun 14 18:08:13 2019 +0300
+++ b/src/dmfile.c	Fri Jun 14 18:32:45 2019 +0300
@@ -110,10 +110,7 @@
     if (filename != NULL)
     {
         if ((fh = fopen(filename, "rb")) == NULL)
-        {
-            return dmError(DMERR_FOPEN,
-                "Could not open '%s' for reading.\n", filename);
-        }
+            return DMERR_FOPEN;
     }
 
     if (fh == NULL)