mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Avoid warning about unused parameter.
This fixes compilation warning: error: unused parameter 'version' [-Werror=unused-parameter]
This commit is contained in:
@@ -105,6 +105,7 @@ static void *token_dlvsym(struct crypt_device *cd,
|
||||
log_dbg(cd, "Loading symbol %s@%s.", symbol, version);
|
||||
sym = dlvsym(handle, symbol, version);
|
||||
#else
|
||||
UNUSED(version);
|
||||
log_dbg(cd, "Loading default version of symbol %s.", symbol);
|
||||
sym = dlsym(handle, symbol);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user