comparison 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
comparison
equal deleted inserted replaced
2226:6037ba60730a 2227:5046458d6c34
108 fh = ffh; 108 fh = ffh;
109 else 109 else
110 if (filename != NULL) 110 if (filename != NULL)
111 { 111 {
112 if ((fh = fopen(filename, "rb")) == NULL) 112 if ((fh = fopen(filename, "rb")) == NULL)
113 { 113 return DMERR_FOPEN;
114 return dmError(DMERR_FOPEN,
115 "Could not open '%s' for reading.\n", filename);
116 }
117 } 114 }
118 115
119 if (fh == NULL) 116 if (fh == NULL)
120 { 117 {
121 return dmError(DMERR_NULLPTR, 118 return dmError(DMERR_NULLPTR,