aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-07-02 14:19:36 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-07-02 14:19:36 -0400
commitfa98a6e8b27796d1d6245108ceb126b6ea984488 (patch)
treefa9699ad4c6e1243c8492e383717cc5dedcf3e0f /src
parent0f2a390d03030ddcc3755c6d955f92e567fb0ae6 (diff)
downloadlite-xl-plugin-manager-fa98a6e8b27796d1d6245108ceb126b6ea984488.tar.gz
lite-xl-plugin-manager-fa98a6e8b27796d1d6245108ceb126b6ea984488.zip
Removed unused code.
Diffstat (limited to 'src')
-rw-r--r--src/lpm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lpm.c b/src/lpm.c
index 24ef1c4..e390512 100644
--- a/src/lpm.c
+++ b/src/lpm.c
@@ -598,10 +598,6 @@ static int mkdirp(char* path, int len) {
return 0;
}
-static int gzip_read(mtar_t* tar, void* data, unsigned int size) { return gzread(tar->stream, data, size) >= 0 ? MTAR_ESUCCESS : -1; }
-static int gzip_seek(mtar_t* tar, unsigned int pos) { return gzseek(tar->stream, pos, SEEK_SET) >= 0 ? MTAR_ESUCCESS : -1; }
-static int gzip_close(mtar_t* tar) { return gzclose(tar->stream) == Z_OK ? MTAR_ESUCCESS : -1; }
-
#define FA_RDONLY 0x01 // FILE_ATTRIBUTE_READONLY
#define FA_DIREC 0x10 // FILE_ATTRIBUTE_DIRECTORY