Skip to content
Commit 13123dea authored by Jérôme Forissier's avatar Jérôme Forissier Committed by Jérôme Forissier
Browse files

tee-supplicant: fs: no need to use strlen() to check for empty string



A string is empty when its first character is zero. Therefore, we can
avoid calling strlen() on each FS request.

Signed-off-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander's avatarJens Wiklander <jens.wiklander@linaro.org>
parent 4a8438d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment