octeon sdk: initialize variable to quiet Clang warning

Clang complains "variable 'dummy' is uninitialized when used here".

Reported by:	Clang
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2017-09-14 16:41:22 +00:00
parent a64bf59c49
commit 34cb0eb2ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323587

View File

@ -339,7 +339,7 @@ uint64_t cvmx_l2c_read_perf(uint32_t counter)
static void fault_in(uint64_t addr, int len)
{
volatile char *ptr;
volatile char dummy;
volatile char dummy = 0;
/*
* Adjust addr and length so we get all cache lines even for
* small ranges spanning two cache lines.