mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-17 05:40:13 +01:00
Mark or remove unused parameters.
Mark unused parameters with proper attribute where it is a part of API or some internal logic. And remove other unused parameters completely.
This commit is contained in:
@@ -278,7 +278,7 @@ void tools_token_msg(int token, crypt_object_op op)
|
||||
* kiB|KiB|miB|MiB|giB|GiB|tiB|TiB - 1024 base
|
||||
* kb |KB |mM |MB |gB |GB |tB |TB - 1000 base
|
||||
*/
|
||||
int tools_string_to_size(struct crypt_device *cd, const char *s, uint64_t *size)
|
||||
int tools_string_to_size(const char *s, uint64_t *size)
|
||||
{
|
||||
char *endp = NULL;
|
||||
size_t len;
|
||||
|
||||
Reference in New Issue
Block a user