Changeset: 5db9ec0c98c9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5db9ec0c98c9
Modified Files:
        clients/mapiclient/tomograph.c
Branch: default
Log Message:

Silence compiler against effect complex decision


diffs (12 lines):

diff --git a/clients/mapiclient/tomograph.c b/clients/mapiclient/tomograph.c
--- a/clients/mapiclient/tomograph.c
+++ b/clients/mapiclient/tomograph.c
@@ -1458,6 +1458,8 @@ static void createTomogram(void)
        fprintf(gnudata, "set xrange ["LLFMT".0:"LLFMT".0]\n", startrange, 
lastclktick - starttime);
 
        /* detect all different threads and assign them a row */
+       for (j = 0; j < MAXTHREADS; j++)
+               rows[j]=0; // needed to silense compiler
        for (i = 0; i < topbox; i++)
                if (box[i].clkend && box[i].state != PING) {
                        for (j = 0; j < top; j++)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to