diff options
author | stephan <stephan@noemail.net> | 2024-06-16 17:06:50 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2024-06-16 17:06:50 +0000 |
commit | c7cbcfbbbd522c972527b92b9dfee63c82a97fbc (patch) | |
tree | ba8c0cfc5257ab00299d9cf3d3f485f9d0966c6a /ext/wasm/api | |
parent | 9175b18226948b05c4a6ed9b8a1c3225d3547544 (diff) | |
download | sqlite-c7cbcfbbbd522c972527b92b9dfee63c82a97fbc.tar.gz sqlite-c7cbcfbbbd522c972527b92b9dfee63c82a97fbc.zip |
Remove some dead JS code.
FossilOrigin-Name: 754e6e059b740435475c1869feeaca39585b262d5c27210e0fbddbbcc202c4d5
Diffstat (limited to 'ext/wasm/api')
-rw-r--r-- | ext/wasm/api/sqlite3-vfs-opfs.c-pp.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js index ee6937c69..fc0fb9db9 100644 --- a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js +++ b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js @@ -725,12 +725,7 @@ const installOpfsVfs = function callee(options){ https://sqlite.org/forum/forumpost/a2f573b00cda1372 */ - if(1){ - wasm.poke(pOut, 0, 'i32'); - }else{ - const f = __openFiles[pFile]; - wasm.poke(pOut, f.lockType ? 1 : 0, 'i32'); - } + wasm.poke(pOut, 0, 'i32'); return 0; }, xClose: function(pFile){ |