comparison tools/64vw.c @ 2235:9c4f69fcb4b1

Remove accidentally committed unused code.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Jun 2019 06:18:09 +0300
parents b39eb8b44f22
children 57ccd949093f
comparison
equal deleted inserted replaced
2234:ef1845cb436e 2235:9c4f69fcb4b1
265 265
266 dmPaletteFree(bmap.pal); 266 dmPaletteFree(bmap.pal);
267 return res; 267 return res;
268 } 268 }
269 269
270 #if 0
271 DIR *dirh;
272 struct dirent *entry;
273
274 if ((dirh = opendir(npath)) == NULL)
275 {
276 int err = th_get_error();
277 THERR("Could not open directory '%s': %s\n",
278 path, th_error_str(err));
279 ret = FALSE;
280 goto out;
281 }
282
283 while ((entry = readdir(dirh)) != NULL)
284 if (entry->d_name[0] != '.')
285 {
286 if (!argHandleFileDir(npath, entry->d_name, pattern))
287 {
288 ret = FALSE;
289 goto out;
290 }
291 }
292
293 closedir(dirh);
294 #endif
295
296 270
297 int main(int argc, char *argv[]) 271 int main(int argc, char *argv[])
298 { 272 {
299 const DMC64ImageFormat *forced; 273 const DMC64ImageFormat *forced;
300 DMC64ImageConvSpec optSpec; 274 DMC64ImageConvSpec optSpec;