summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2013-09-01 11:47:11 -0700
committerBen Widawsky <benjamin.widawsky@intel.com>2013-09-03 15:31:14 -0700
commitc42f344b781fef9e8839d439dfa63d7aa76d65ca (patch)
tree52151fde61dcd9a7bc71848533d7ceae2a4aff46
parent7db283f930b2e03f019bb23689d2c12daff8104c (diff)
intel_reg_dumper: Silence GCC for uninitialized clock
GCC 4.8.1 seems to think clock may be uninitialized. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r--tools/intel_reg_dumper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
index bf3452c9..1f4e8779 100644
--- a/tools/intel_reg_dumper.c
+++ b/tools/intel_reg_dumper.c
@@ -1573,7 +1573,7 @@ DEBUGSTRING(ilk_debug_pp_control)
DEBUGSTRING(hsw_debug_port_clk_sel)
{
- const char *clock;
+ const char *clock = NULL;
switch ((val >> 29 ) & 7) {
case 0: