fix(tmt): Fix return value compiler warning
This commit fixes a compiler warning:
non-void function does not return a value in all control paths
by refactoring the function to allow a failure result.
Signed-off-by: Luke Hutton luke.hutton@arm.com
This commit fixes a compiler warning:
non-void function does not return a value in all control paths
by refactoring the function to allow a failure result.
Signed-off-by: Luke Hutton luke.hutton@arm.com