OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc5c231
)
Remove unused field of struct iterator.
author
relan
<relan@users.noreply.github.com>
Mon, 5 Dec 2016 10:30:47 +0000
(13:30 +0300)
committer
relan
<relan@users.noreply.github.com>
Mon, 5 Dec 2016 10:30:47 +0000
(13:30 +0300)
libexfat/node.c
patch
|
blob
|
history
diff --git
a/libexfat/node.c
b/libexfat/node.c
index
3f49fb2
..
a5491b1
100644
(file)
--- a/
libexfat/node.c
+++ b/
libexfat/node.c
@@
-30,7
+30,6
@@
struct iterator
{
cluster_t cluster;
off_t offset;
- int contiguous;
char* chunk;
};
@@
-99,7
+98,6
@@
static int opendir(struct exfat* ef, const struct exfat_node* dir,
exfat_bug("not a directory");
it->cluster = dir->start_cluster;
it->offset = 0;
- it->contiguous = IS_CONTIGUOUS(*dir);
it->chunk = malloc(CLUSTER_SIZE(*ef->sb));
if (it->chunk == NULL)
{
@@
-120,7
+118,6
@@
static void closedir(struct iterator* it)
{
it->cluster = 0;
it->offset = 0;
- it->contiguous = 0;
free(it->chunk);
it->chunk = NULL;
}