commit | 08cd6e97376bd2040b9c7978d593347e7209ec02 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Wed Feb 11 13:44:50 2015 -0700 |
committer | Chia-I Wu <olv@lunarg.com> | Thu Feb 12 13:24:03 2015 -0700 |
tree | b3f8683b462c369fe7070794b520c76014289b24 | |
parent | 004059128b2581c8751470dc0ef8ac53edf548a6 [diff] [blame] |
intel: fix -Wunused-(but-set-)variable warnings
diff --git a/icd/intel/layout.h b/icd/intel/layout.h index f081e37..fc86155 100644 --- a/icd/intel/layout.h +++ b/icd/intel/layout.h
@@ -165,7 +165,8 @@ intel_layout_mem_to_raw(const struct intel_layout *layout, unsigned mem_x, unsigned mem_y) { - unsigned tile_w, tile_h; + unsigned tile_w U_ASSERT_ONLY; + unsigned tile_h; switch (layout->tiling) { case INTEL_TILING_NONE: