Skip to content

Conversation

Bambooin
Copy link
Contributor

@Bambooin Bambooin commented Jul 3, 2022

Fix regression issue in commit: 5e8aca2

trime/app/src/main/jni/librime/src/rime/switches.cc:117:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
  }
  ^
  1 error generated.

We can add more compiler option in CI to avoid issue like this.

Pull request

Issue tracker

Fixes will automatically close the related issue

Fixes #

Feature

Describe feature of pull request

Unit test

  • Done

Manual test

  • Done

Code Review

  1. Unit and manual test pass
  2. GitHub Action CI pass
  3. At least one contributor reviews and votes
  4. Can be merged clean without conflicts
  5. PR will be merged by rebase upstream base

Additional Info

Fix regression issue in commit: 5e8aca2

```
trime/app/src/main/jni/librime/src/rime/switches.cc:117:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
  }
  ^
  1 error generated.
```

We can add more compiler option in CI to avoid issue like this.
@lotem lotem merged commit 87e4c73 into rime:master Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants