Bug 96616 - Warning about unused but set variable `qx` in lowlevel-blt-bench.c
Summary: Warning about unused but set variable `qx` in lowlevel-blt-bench.c
Status: RESOLVED MOVED
Alias: None
Product: pixman
Classification: Unclassified
Component: pixman (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Oded Gabbay
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-21 14:33 UTC by Paul Menzel
Modified: 2018-06-05 15:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Paul Menzel 2016-06-21 14:33:37 UTC
With commit 7c6066b (pixman-private: include <float.h> only in C code) running `./autogen.sh && ./configure && make -j` shows the warning below.

```
[…]
  CC       lowlevel-blt-bench.o
  CC       check-formats.o
  CC       glyph-test.o
  CC       affine-test.o
  CC       radial-perf-test.o
  CC       affine-bench.o
  CC       scaling-bench.o
  CC       composite.o
  CC       cover-test.o
  CC       stress-test.o
  CC       scaling-helpers-test.o
lowlevel-blt-bench.c: In function ‘bench_L’:
lowlevel-blt-bench.c:183:18: warning: variable ‘qx’ set but not used [-Wunused-but-set-variable]
     volatile int qx;
                  ^
[…]
```
Comment 1 Siarhei Siamashka 2016-09-26 03:37:26 UTC
Thanks! This looks like a pretty trivial issue. A patch would be welcome :-)
Comment 2 GitLab Migration User 2018-06-05 15:27:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pixman/pixman/issues/7.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.