Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23029

Modified Files:
      Tag: SQL_2-16
        sql.mx 
Log Message:
warning: 'b' may be used uninitialized in this function

Little does the compiler know (on FC6-static) that the variable is
initialized by the call to getContext, two lines down.


Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.207.2.4
retrieving revision 1.207.2.5
diff -u -d -r1.207.2.4 -r1.207.2.5
--- sql.mx      21 Feb 2007 10:06:33 -0000      1.207.2.4
+++ sql.mx      23 Feb 2007 09:18:37 -0000      1.207.2.5
@@ -1404,7 +1404,7 @@
        ptr p =  (ptr) getArgReference(stk, pci, 8);
        int mtype = getArgType(mb, pci, 8);
        str *w = (str *) getArgReference(stk, pci, 9);
-       backend *b;
+       backend *b = NULL;
        mvc *c = NULL;
        str msg = getContext(&c, &b);
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to