From: Peter Howkins Date: Mon, 2 Jul 2018 22:13:43 +0000 (+0100) Subject: libDtSearch: Coverity 176038 X-Git-Tag: 2.3.0a~248 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=95d6b64800354e33f22ef4fd6584106cbb156e2a;p=oweals%2Fcde.git libDtSearch: Coverity 176038 --- diff --git a/cde/lib/DtSearch/raima/startup.c b/cde/lib/DtSearch/raima/startup.c index 0d6963a7..57303549 100644 --- a/cde/lib/DtSearch/raima/startup.c +++ b/cde/lib/DtSearch/raima/startup.c @@ -53,9 +53,7 @@ int startup(int dbn) taskinit(&db_global); db_glob_init = 1; } - if ( dbn >= 0 && dbn_check(dbn) != S_OKAY ) { - return( db_status ); - } + return( db_status ); } /* vpp -nOS2 -dUNIX -nBSD -nVANILLA_BSD -nVMS -nMEMLOCK -nWINDOWS -nFAR_ALLOC -f/usr/users/master/config/nonwin startup.c */