Changeset: 8f07ee610cea for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8f07ee610cea
Modified Files:
        monetdb5/optimizer/opt_pushselect.c
Branch: Jan2014
Log Message:

Fix "unused pointer value".


diffs (15 lines):

diff --git a/monetdb5/optimizer/opt_pushselect.c 
b/monetdb5/optimizer/opt_pushselect.c
--- a/monetdb5/optimizer/opt_pushselect.c
+++ b/monetdb5/optimizer/opt_pushselect.c
@@ -399,9 +399,10 @@ OPTpushselectImplementation(Client cntxt
                                }
                                if (subselect_find_subselect(&subselects, var) 
> 0) {
                                        InstrPtr qq = newAssignment(mb);
+                                       /* TODO: check result */
 
                                        getArg(qq, 0) = getArg(p, 0); 
-                                       qq = pushArgument(mb, qq, getArg(p, 1));
+                                       (void) pushArgument(mb, qq, getArg(p, 
1));
                                        actions++;
                                        freeInstruction(p);
                                        continue;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to