Skip to content
Commit 49987e8e authored by Johan Hedberg's avatar Johan Hedberg Committed by Carles Cufí
Browse files

toolchain: Add macro for warning for unused return values



This will let us get compiler warnings whenever the return value of
specific functions stays unused. I called this __must_check since that's
the name Linux uses as well.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 2f7ede5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment