Skip to content

Commit

Permalink
x86: fix a warning in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Apr 23, 2019
1 parent f6070af commit ba157ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwloc/topology-x86.c
Expand Up @@ -475,7 +475,7 @@ static void read_amd_cores_legacy(struct procinfo *infos, struct cpuiddump *src_
/* AMD unit/node from CPUID 0x8000001e leaf (topoext) */
static void read_amd_cores_topoext(struct procinfo *infos, unsigned long flags, struct cpuiddump *src_cpuiddump)
{
unsigned apic_id, nodes_per_proc;
unsigned apic_id, nodes_per_proc = 0;
unsigned eax, ebx, ecx, edx;

eax = 0x8000001e;
Expand Down

0 comments on commit ba157ba

Please sign in to comment.