diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 6eab4c8..20262cc 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -868,7 +868,6 @@ static int s3fs_readlink(const char* path, char* buf, size_t size) // check buf if it has space words. string strTmp = trim(string(buf)); - ressize = static_cast(strTmp.length()); strcpy(buf, strTmp.c_str()); FdManager::get()->Close(ent);