Skip to content

Commit f646797

Browse files
committed
remove file version check
1 parent 1c98555 commit f646797

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/file.c

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ cbsl_ctx* cbsl_open(cbsl_mode mode, char* path)
5050
ctx->fp = fp;
5151
CBSL_CHECK_COND_AND_RETURN(create_streaming_buffers(ctx) == cbsl_success, cbsl_open_safe_finalize(&ctx));
5252

53+
/*
5354
uint64_t file_version;
5455
if (mode == cbsl_load_mode)
5556
{
@@ -62,6 +63,7 @@ cbsl_ctx* cbsl_open(cbsl_mode mode, char* path)
6263
file_version = CBSL_VERSION;
6364
CBSL_CHECK_COND_AND_RETURN(cbsl_write(ctx, &file_version, sizeof(file_version)) == cbsl_success, cbsl_open_safe_finalize(&ctx));
6465
}
66+
*/
6567

6668
return ctx;
6769
}

0 commit comments

Comments
 (0)