Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19295

Modified Files:
        mal_function.mx 
Log Message:
Avoid generation of warnings of variables retained in main();


Index: mal_function.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_function.mx,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- mal_function.mx     13 Jan 2008 15:18:34 -0000      1.152
+++ mal_function.mx     14 Jan 2008 07:49:35 -0000      1.153
@@ -875,7 +875,8 @@
                                                getVarName(mb,l));
                                        mb->errors++;
                                }
-                       } else {
+                       } else 
+                       if( !isVarInit(mb,l) ){
                            /* is the block still active ? */
                            for( i=0; i<= top; i++)
                                        if( blks[i] == decl[l] ) 
@@ -905,7 +906,8 @@
                                stream_printf(GDKout,"defined %s in block 
%d\n", 
                                        getVarName(mb,l),decl[l]);
 #endif
-                       } else {
+                       } else
+                       if( !isVarInit(mb,l) ){
                            /* is the block still active ? */
                            for( i=0; i<= top; i++)
                                        if( blks[i] == decl[l] ) 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to