jedisct1 / libsodium

A modern, portable, easy to use crypto library.
https://libsodium.org
Other
12.08k stars 1.72k forks source link

Remove unused variable from _sodium_runtime_intel_cpu_features #1085

Closed niooss-ledger closed 3 years ago

niooss-ledger commented 3 years ago

The function _sodium_runtime_intel_cpu_features assigns some value to its local variable id but never reads it. Remove this variable, which also simplifies the if statement that contains the assignment.