Skip to content

Commit 0106bf9

Browse files
author
Michael Paquier
committed
Remove NOT_USED section
1 parent 04834e7 commit 0106bf9

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

dir.c

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -617,27 +617,3 @@ dir_copy_files(const char *from_root, const char *to_root)
617617
parray_walk(files, pgFileFree);
618618
parray_free(files);
619619
}
620-
621-
#ifdef NOT_USED
622-
void
623-
pgFileDump(pgFile *file, FILE *out)
624-
{
625-
char mtime_str[100];
626-
627-
fprintf(out, "=================\n");
628-
if (file)
629-
{
630-
time2iso(mtime_str, 100, file->mtime);
631-
fprintf(out, "mtime=%lu(%s)\n", file->mtime, mtime_str);
632-
fprintf(out, "size=" UINT64_FORMAT "\n", (uint64)file->size);
633-
fprintf(out, "read_size=" UINT64_FORMAT "\n", (uint64)file->read_size);
634-
fprintf(out, "write_size=" UINT64_FORMAT "\n", (uint64)file->write_size);
635-
fprintf(out, "mode=0%o\n", file->mode);
636-
fprintf(out, "crc=%u\n", file->crc);
637-
fprintf(out, "is_datafile=%s\n", file->is_datafile ? "true" : "false");
638-
fprintf(out, "linked=\"%s\"\n", file->linked ? file->linked : "nil");
639-
fprintf(out, "path=\"%s\"\n", file->path);
640-
}
641-
fprintf(out, "=================\n");
642-
}
643-
#endif

0 commit comments

Comments
 (0)