]> git.droids-corp.org - dpdk.git/blobdiff - examples/vm_power_manager/channel_monitor.c
examples/power: allow number of VMs to be zero
[dpdk.git] / examples / vm_power_manager / channel_monitor.c
index 7fa47ba97227e34439a4297361a942069041c080..f180d74e64e74e77270933ca4aa479ef5b1396ac 100644 (file)
@@ -66,7 +66,7 @@ static void
 core_share_status(int pNo)
 {
 
-       int noVms, noVcpus, z, x, t;
+       int noVms = 0, noVcpus = 0, z, x, t;
 
        get_all_vm(&noVms, &noVcpus);