Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: resolve compiler warnings #2630

Closed
wants to merge 1 commit into from
Closed

build: resolve compiler warnings #2630

wants to merge 1 commit into from

Conversation

jengelh
Copy link

@jengelh jengelh commented Apr 1, 2024

$ make V=0
...
  CC       libibus_1_0_la-ibusservice.lo
ibusservice.c: In function 'ibus_service_class_free_interfaces':
ibusservice.c:676:9: warning: value computed is not used [-Wunused-value]
  676 |         *p++;
      |         ^~~~

Though p is evaluated and used (++), the value of *(expr) is not.

```
$ make V=0
...
  CC       libibus_1_0_la-ibusservice.lo
ibusservice.c: In function 'ibus_service_class_free_interfaces':
ibusservice.c:676:9: warning: value computed is not used [-Wunused-value]
  676 |         *p++;
      |         ^~~~
```
fujiwarat pushed a commit that referenced this pull request Apr 2, 2024
ibusservice.c:676:9: warning: value computed is not used [-Wunused-value]
  676 |         *p++;

BUG=#2630
@fujiwarat fujiwarat self-requested a review April 2, 2024 11:40
@fujiwarat fujiwarat added this to the 1.5.30 milestone Apr 2, 2024
@fujiwarat
Copy link
Member

Thank you for the patch.

@fujiwarat fujiwarat closed this Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants