Mesa (pipe-format-simplify): util/format: Remove unreferenced local.

Michał Król michal at kemper.freedesktop.org
Tue Dec 8 06:46:46 PST 2009


Module: Mesa
Branch: pipe-format-simplify
Commit: ceb3cf55196e757793877e17a0713a85feca3ee0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ceb3cf55196e757793877e17a0713a85feca3ee0

Author: Michal Krol <michal at vmware.com>
Date:   Tue Dec  8 15:31:07 2009 +0100

util/format: Remove unreferenced local.

---

 src/gallium/auxiliary/util/u_format.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h
index fa6dc1f..25a06a8 100644
--- a/src/gallium/auxiliary/util/u_format.h
+++ b/src/gallium/auxiliary/util/u_format.h
@@ -219,7 +219,6 @@ util_format_get_component_bits(enum pipe_format format,
 {
    const struct util_format_description *desc = util_format_description(format);
    enum util_format_colorspace desc_colorspace;
-   uint swizzle;
 
    assert(format);
    if (!format) {



More information about the mesa-commit mailing list