File papi-dont_skip_float_argument.patch of Package papi

commit 1b8ff5898a06d54de76dccab21fa867d43f0b782
Author: James Ralph <ralph@icl.utk.edu>
Date:   Tue Aug 20 15:43:40 2013 -0400

    command_line util: Fix skipping event bug.

    The command line utility had an extranious index increment which
    resulted in skipping the reporting of event counts. Remove the
    increment.

    Reported by Steve Kaufmann

---
 src/utils/command_line.c |    1 -
 1 file changed, 1 deletion(-)

Index: src/utils/command_line.c
===================================================================
--- src/utils/command_line.c.orig	2013-08-06 18:12:26.000000000 +0200
+++ src/utils/command_line.c	2013-08-22 13:25:26.735891471 +0200
@@ -136,7 +136,6 @@ main( int argc, char **argv )
 				break;
 			  case PAPI_DATATYPE_FP64:
 				printf( "%s : \t%0.3f", argv[i], *((double *)(&values[j])) );
-				j++;
 				break;
 			  case PAPI_DATATYPE_BIT64:
 				printf( "%s : \t0x%llX", argv[i], values[j] );
openSUSE Build Service is sponsored by