refact: remove unused code is_same_file
This commit is contained in:
parent
dc402e21e3
commit
6b753cc0cd
|
@ -258,14 +258,6 @@ _exit:
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool is_same_file(const STFile *f1, const STFile f2) {
|
|
||||||
if (f1->type != f2.type) return false;
|
|
||||||
if (f1->did.level != f2.did.level) return false;
|
|
||||||
if (f1->did.id != f2.did.id) return false;
|
|
||||||
if (f1->cid != f2.cid) return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int32_t apply_commit(STFileSystem *fs) {
|
static int32_t apply_commit(STFileSystem *fs) {
|
||||||
int32_t code = 0;
|
int32_t code = 0;
|
||||||
TFileSetArray *fsetArray1 = fs->fSetArr;
|
TFileSetArray *fsetArray1 = fs->fSetArr;
|
||||||
|
|
Loading…
Reference in New Issue