Code

Turbostat: fix shadowing issue
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 3 Mar 2016 21:14:45 +0000 (22:14 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 3 Mar 2016 21:14:45 +0000 (22:14 +0100)
commite9ab5139a3bf01f70fe0a0f01d85d027a551efb3
tree709047b904e9ad630d59d18a9cbb43685d3b79bf
parentaedf67e69cbe93a6925fd1004a7c8b990aed4b0a
Turbostat: fix shadowing issue

turbostat.c: In function ‘delta_thread’:
turbostat.c:460:26: error: declaration of ‘core_delta’ shadows a global
declaration [-Werror=shadow]
  const struct core_data *core_delta)
                          ^~~~~~~~~~
turbostat.c:163:4: note: shadowed declaration is here
 } *core_delta, *core_even, *core_odd;
    ^~~~~~~~~~
src/turbostat.c