]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
uk/plat: Mark MRD validation flags variable in macro as maybe unused
authorSergiu Moga <sergiu@unikraft.io>
Wed, 15 May 2024 14:10:38 +0000 (17:10 +0300)
committerRazvan Deaconescu <razvan.deaconescu@upb.ro>
Wed, 15 May 2024 19:32:49 +0000 (22:32 +0300)
commit741341d51a34f6dc1ee005d1e6694cc0d91287f3
tree003e793711f43377d0876ffd53928f59bd79b4e1
parentf226d56d9469b611acf72a24d0ef25a992cd3e3d
uk/plat: Mark MRD validation flags variable in macro as maybe unused

There may be unused warnings for this variable in builds that do not
have assertions enabled. Therefore, make it so that it does not generate
such warnings if assertions are disabled.

Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1414
include/uk/plat/memory.h