samples: settings: handle failures
If we cannot initialize settings subsystem, it does not make
much sense to do calls into it. This leads to uninitialized
variables being printed and generally makes it hard to tell whether
or not the sample runs with the given config.
Signed-off-by:
Dmitrii Sharshakov <d3dx12.xx@gmail.com>
Loading
Please sign in to comment