From 0ffbc7d2c0a5409f54648bbcb97bc2582162a521 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Thu, 9 Jan 2014 12:45:20 +0200 Subject: [PATCH] android/haltest: Silence static analyzers This makes code more readable and silence static analyzers which think that pipe and fd are close two times. --- android/android-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/android-tester.c b/android/android-tester.c index a448ab5ab..c14cc19d7 100644 --- a/android/android-tester.c +++ b/android/android-tester.c @@ -445,7 +445,7 @@ static void emulator(int pipe, int hci_index) close(pipe); close(fd); - bluetoothd_start(hci_index); + return bluetoothd_start(hci_index); failed: close(pipe); -- 2.47.3