Changeset: 77e5a68612c9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=77e5a68612c9
Modified Files:
        clients/src/mapiclient/mclient.mx
Branch: default
Log Message:

Initialise printfields outside the conditional loop because it is used below 
the loop too.


diffs (20 lines):

diff -r f49450f42478 -r 77e5a68612c9 clients/src/mapiclient/mclient.mx
--- a/clients/src/mapiclient/mclient.mx Thu Aug 19 10:27:52 2010 +0200
+++ b/clients/src/mapiclient/mclient.mx Thu Aug 19 10:34:48 2010 +0200
@@ -1076,7 +1076,7 @@
 SQLrenderer(MapiHdl hdl, char singleinstr)
 {
        int i, total, lentotal, vartotal, minvartotal;
-       int fields, oldfields = 0, printfields, max = 1, graphwaste = 0;
+       int fields, oldfields = 0, printfields = 0, max = 1, graphwaste = 0;
        int *len = NULL, *hdr = NULL, *numeric = NULL;
        char **rest = NULL;
        char buf[50];
@@ -1113,7 +1113,6 @@
                        lentotal = 0;
                        vartotal = 0;
                        minvartotal = 0;
-                       printfields = 0;
                        for (i = 0; i < fields; i++) {
                                char *s;
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to