From 2c5e32e910f83f178dedf0f73b97885d0387bb78 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Sat, 14 Feb 2026 19:55:24 +0100 Subject: [PATCH] Fix #95: Remove unused get_token() wrapper from pclsync_lib - Eliminates thin wrapper that just called psync_get_token() - Function was declared but never used - Simplifies pclsync_lib API as per issue #95 --- pclsync_lib.cpp | 2 -- pclsync_lib.h | 1 - 2 files changed, 3 deletions(-) diff --git a/pclsync_lib.cpp b/pclsync_lib.cpp index 3e563c9..f4b6088 100644 --- a/pclsync_lib.cpp +++ b/pclsync_lib.cpp @@ -113,8 +113,6 @@ clib::pclsync_lib &clib::pclsync_lib::get_lib() { return g_lib; } -char *clib::pclsync_lib::get_token() { return psync_get_token(); } - void clib::pclsync_lib::read_password() { read_from_stdin(password_); } diff --git a/pclsync_lib.h b/pclsync_lib.h index 7181c3c..039308f 100644 --- a/pclsync_lib.h +++ b/pclsync_lib.h @@ -102,7 +102,6 @@ public: static int add_sync_folder(const char *path); static int remove_sync_folder(const char *path); - char *get_token(); int logout(); int unlink(); int login(const char *user, const char *pass, int save);