Changeset: 2fdf65f25ee3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2fdf65f25ee3
Modified Files:
        clients/mapiclient/tomograph.c
Branch: Jul2015
Log Message:

Dead code elimination: mod cannot be NULL.


diffs (12 lines):

diff --git a/clients/mapiclient/tomograph.c b/clients/mapiclient/tomograph.c
--- a/clients/mapiclient/tomograph.c
+++ b/clients/mapiclient/tomograph.c
@@ -1172,7 +1172,7 @@ updatecolormap(int idx)
        if (fnd == 0 && i < NUM_COLORS) {
                /* not found, but still free slot: add new one */
                fnd = i;
-               colors[fnd].mod = mod?strdup(mod): 0;
+               colors[fnd].mod = strdup(mod);
                colors[fnd].fcn = strdup(fcn);
                if( debug) 
                        fprintf(stderr,"-- Added function #%d: %s.%s\n", fnd, 
mod, fcn);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to