projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db283f
)
intel_reg_dumper: Silence GCC for uninitialized clock
author
Ben Widawsky
<benjamin.widawsky@intel.com>
Sun, 1 Sep 2013 18:47:11 +0000
(11:47 -0700)
committer
Ben Widawsky
<benjamin.widawsky@intel.com>
Tue, 3 Sep 2013 22:31:14 +0000
(15:31 -0700)
GCC 4.8.1 seems to think clock may be uninitialized.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
tools/intel_reg_dumper.c
patch
|
blob
|
history
diff --git
a/tools/intel_reg_dumper.c
b/tools/intel_reg_dumper.c
index
bf3452c
..
1f4e877
100644
(file)
--- 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: