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

Fixing Coverity complaints


diffs (13 lines):

diff --git a/monetdb5/mal/mal_runtime.c b/monetdb5/mal/mal_runtime.c
--- a/monetdb5/mal/mal_runtime.c
+++ b/monetdb5/mal/mal_runtime.c
@@ -194,7 +194,8 @@ runtimeProfileExit(Client cntxt, MalBlkP
        if (malProfileMode == 0 && pci->recycle == 0)
                return; /* mostly true */
 
-       if (getProfileCounter(PROFfootprint) && pci){
+       if (getProfileCounter(PROFfootprint) ){
+               if( pci)
                for (i = 0; i < pci->retc; i++)
                        if ( isaBatType(getArgType(mb,pci,i)) && 
stk->stk[getArg(pci,i)].val.bval){
                                /* avoid simple alias operations */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to