[maybe-PULL] Killing some unused-but-set-variable warnings

Cyril Brulebois kibi at debian.org
Wed Jun 15 15:58:35 PDT 2011


Hi Peter,

please consider this pull request, but beware: it needs a newer xproto
that what's currently released, due to xorg-sgml-doctools fun. Given
we're already past-rc1, it's probably not too good to get that merged
before new xproto is released. I'll try to look into new
xorg-sgml-doctools and xproto soon.

If you feel it's the way to go, I'll just follow-up to this mail once
xproto is out, so that this part can get merged.


The following changes since commit d9bda34d0df576d155e1d682d5e2a382b8e1ffda:

  test: fix memset size for WindowRec (#37801) (2011-06-02 23:21:26 -0700)

are available in the git repository at:
  git://anongit.freedesktop.org/~kibi/xserver master

Cyril Brulebois (9):
      Xext: Fix buggy checks.
      configure: Bump dependency on xproto.
      fb: Simplify logic, get rid of set but unused variable.
      fb: Mark some variables as unused.
      miext: Mark some variables as unused.
      xfixes: Mark some variables as unused.
      xfixes: Remove unused variable.
      hw/dmx: Stop using variables for text widgets.
      dmx/examples: Fix missing key_click_percent assignment.

 Xext/xvmc.c                |   11 ++++++-----
 configure.ac               |    2 +-
 fb/fb24_32.c               |    4 ++--
 fb/fbarc.c                 |    9 +++------
 fb/fbfill.c                |    6 +++---
 fb/fbgc.c                  |    4 ++--
 fb/fbpush.c                |    2 +-
 hw/dmx/config/xdmxconfig.c |    8 ++++----
 hw/dmx/examples/xbell.c    |    3 +--
 miext/shadow/shpacked.c    |    2 +-
 miext/shadow/shplanar.c    |    2 +-
 miext/shadow/shplanar8.c   |    2 +-
 miext/shadow/shrotate.c    |    2 +-
 miext/shadow/shrotpack.h   |    2 +-
 miext/shadow/shrotpackYX.h |    2 +-
 xfixes/cursor.c            |    4 ++--
 xfixes/region.c            |    2 --
 17 files changed, 31 insertions(+), 36 deletions(-)

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110616/9817e27e/attachment.pgp>


More information about the xorg-devel mailing list