examples/performance-thread: add missing braces
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 18 Jul 2016 11:20:25 +0000 (12:20 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 22 Jul 2016 10:40:26 +0000 (12:40 +0200)
commit9a9751b58bd608f9d4d5f0df2b0e96c43ae44bfb
tree806140aecfcbbad76542c2609701bd739a19852f
parent56c9ff8e3e53bb69c3b0b59454b313e075e2fab4
examples/performance-thread: add missing braces

pthread_detach() function was returning 0 even when not calling
lthread_detach(), due to missing braces in conditional
(extra indentation was applied, giving a hint this is the correct fix).

Fixes: 433ba6228f9a ("examples/performance-thread: add pthread_shim app")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Tested-by: John McNamara <john.mcnamara@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
examples/performance-thread/pthread_shim/pthread_shim.c