Author: tkreuzer Date: Sun Feb 17 10:31:50 2013 New Revision: 58327
URL: http://svn.reactos.org/svn/reactos?rev=58327&view=rev Log: [POWRPROF_APITEST] Fix subscript out of array bounds
Modified: trunk/rostests/apitests/powrprof/power.c
Modified: trunk/rostests/apitests/powrprof/power.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/powrprof/power.c?... ============================================================================== --- trunk/rostests/apitests/powrprof/power.c [iso-8859-1] (original) +++ trunk/rostests/apitests/powrprof/power.c [iso-8859-1] Sun Feb 17 10:31:50 2013 @@ -997,11 +997,6 @@ if (pp.mach.pad1[1] != pp_compare.mach.pad1[1]) { printf("mach.pad1[1] failed %i != %i\n",pp.mach.pad1[1],pp_compare.mach.pad1[1]); - ret = FALSE; - } - if (pp.mach.pad1[2] != pp_compare.mach.pad1[2]) - { - printf("mach.pad1[2] failed %i != %i\n",pp.mach.pad1[2],pp_compare.mach.pad1[2]); ret = FALSE; } if (pp.mach.Revision != pp_compare.mach.Revision)