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

Modified Files:
      Tag: SQL_2-16
        sql.mx 
Log Message:
Same as previous checkin:

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.5
retrieving revision 1.207.2.6
diff -u -d -r1.207.2.5 -r1.207.2.6
--- sql.mx      23 Feb 2007 09:18:37 -0000      1.207.2.5
+++ sql.mx      25 Feb 2007 11:18:33 -0000      1.207.2.6
@@ -1360,7 +1360,7 @@
 str
 mvc_export_result_wrap(int *ret, int *res_id, str *w)
 {
-       backend *b;
+       backend *b = NULL;
        mvc *c = NULL;
        str msg = getContext(&c, &b);
 
@@ -1376,7 +1376,7 @@
 str
 mvc_export_operation_wrap(int *ret, str *w)
 {
-       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