Changeset: 6c5d524ab80a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6c5d524ab80a
Modified Files:
        clients/mapiclient/dump.c
Branch: Jul2012
Log Message:

Remove dead code found by Coverity.
All gotos to bailout occur after query has been freed and maxquerylen
has been set to 0.


diffs (13 lines):

diff --git a/clients/mapiclient/dump.c b/clients/mapiclient/dump.c
--- a/clients/mapiclient/dump.c
+++ b/clients/mapiclient/dump.c
@@ -344,9 +344,6 @@ dump_foreign_keys(Mapi mid, const char *
        } else if (mapi_error(mid))
                mapi_explain(mid, stderr);
 
-       if (query != NULL && maxquerylen != 0)
-               free(query);
-
        return 1;
 }
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to