Changeset: 833476d39e18 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=833476d39e18
Modified Files:
        monetdb5/mal/mal_profiler.c
Branch: Jan2014
Log Message:

Logically dead code.


diffs (13 lines):

diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -1356,8 +1356,7 @@ static int getCPULoad(char cpuload[BUFSI
                        s= strchr(s,' ');
                        if (s == NULL)          /* unexpected format of file */
                                break;
-                       if ( cpu < 0 || cpu > 255) goto skip;
-                       
+
                        while( *s && isspace((int)*s)) s++;
                        i= sscanf(s,LLFMT" "LLFMT" "LLFMT" "LLFMT" "LLFMT,  
&user, &nice, &system, &idle, &iowait);
                        if ( i != 5 )
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to