Changeset: 589c7fa6b7cf for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=589c7fa6b7cf
Modified Files:
        monetdb5/mal/mal_linker.c
Branch: Apr2019
Log Message:

Clang 7.0.1 (Fedora 29) complains about non-reachable code.


diffs (12 lines):

diff --git a/monetdb5/mal/mal_linker.c b/monetdb5/mal/mal_linker.c
--- a/monetdb5/mal/mal_linker.c
+++ b/monetdb5/mal/mal_linker.c
@@ -200,7 +200,7 @@ loadLibrary(str filename, int flag)
                handle = dlopen(nme, mode);
                if (handle == NULL && fileexists(nme))
                        throw(LOADER, "loadLibrary", RUNTIME_LOAD_ERROR " 
failed to open library %s (from within file '%s'): %s", s, nme, dlerror());
-               if (handle == NULL && strcmp(SO_EXT, ".so") != 0) {
+               if (handle == NULL && strcmp(SO_EXT, ".so") != /* DISABLES CODE 
*/ (0)) {
                        /* try .so */
                        len = snprintf(nme, FILENAME_MAX, "%.*s%c%s_%s.so",
                                         (int) (p - mod_path),
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to