Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 012204ae authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix bugprone-posix-return warnings

Test: WITH_TIDY=1 make
Bug: 154629561
Change-Id: I2d65b3bcb44b0f4237ea58bfe4d9b7bbc3238c48
parent d485c422
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -485,7 +485,7 @@ int uipc_start_main_server_thread(tUIPC_STATE& uipc) {
  uipc.running = 1;

  if (pthread_create(&uipc.tid, (const pthread_attr_t*)NULL, uipc_read_task,
                     &uipc) < 0) {
                     &uipc) != 0) {
    BTIF_TRACE_ERROR("uipc_thread_create pthread_create failed:%d", errno);
    return -1;
  }