fix: remove unused variables

Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
Andrew Calcutt 2023-10-08 10:48:43 -04:00
parent 93d91b35b9
commit 9cebc4459c
2 changed files with 0 additions and 2 deletions

View file

@ -140,7 +140,6 @@ const ReadBytes = async (filePath, offset, size) => {
const stats = fs.statSync(filePath); // file details const stats = fs.statSync(filePath); // file details
const fd = fs.openSync(filePath); // file descriptor const fd = fs.openSync(filePath); // file descriptor
let bytesRead = 0; // how many bytes were read let bytesRead = 0; // how many bytes were read
let end = size;
for (let i = 0; i < size; i++) { for (let i = 0; i < size; i++) {
let postion = offset + i; let postion = offset + i;

View file

@ -1251,7 +1251,6 @@ export const serve_rendered = {
const sourceId = parts[2]; const sourceId = parts[2];
const source = map.sources[sourceId]; const source = map.sources[sourceId];
const sourceInfo = styleJSON.sources[sourceId]; const sourceInfo = styleJSON.sources[sourceId];
var typeofv = typeof map.sources[sourceId]
const z = parts[3] | 0; const z = parts[3] | 0;
const x = parts[4] | 0; const x = parts[4] | 0;