From: Kurt Zeilenga Date: Tue, 17 Aug 1999 21:10:52 +0000 (+0000) Subject: Update MSVC project and remove lint X-Git-Tag: TWEB_OL_BASE~184 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b01f6de09896b612d9a1b7ae7a512ca331d9e99d;p=openldap Update MSVC project and remove lint --- diff --git a/build/main.dsw b/build/main.dsw index bfe89b0ef0..0dee32c0c0 100644 --- a/build/main.dsw +++ b/build/main.dsw @@ -273,108 +273,6 @@ Package=<4> ############################################################################### -Project: "ldbmcat"=..\servers\slapd\tools\ldbmcat.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libldbm - End Project Dependency - Begin Project Dependency - Project_Dep_Name backldbm - End Project Dependency - Begin Project Dependency - Project_Dep_Name libslapd - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblber - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldap_r - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblutil - End Project Dependency -}}} - -############################################################################### - -Project: "ldbmentry"=..\servers\slapd\tools\ldbmentry.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name backldbm - End Project Dependency - Begin Project Dependency - Project_Dep_Name libavl - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblber - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldap_r - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldbm - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldif - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblutil - End Project Dependency - Begin Project Dependency - Project_Dep_Name libslapd - End Project Dependency -}}} - -############################################################################### - -Project: "ldbmindex"=..\servers\slapd\tools\ldbmindex.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name backldbm - End Project Dependency - Begin Project Dependency - Project_Dep_Name libavl - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblber - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldap_r - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldbm - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldif - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblutil - End Project Dependency - Begin Project Dependency - Project_Dep_Name libslapd - End Project Dependency -}}} - -############################################################################### - Project: "ldbmtest"=..\servers\slapd\tools\ldbmtest.dsp - Package Owner=<4> Package=<5> @@ -435,42 +333,6 @@ Package=<4> ############################################################################### -Project: "ldif2ldbm"=..\servers\slapd\tools\ldif2ldbm.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name backldbm - End Project Dependency - Begin Project Dependency - Project_Dep_Name libavl - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldap_r - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldif - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblutil - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblber - End Project Dependency - Begin Project Dependency - Project_Dep_Name libslapd - End Project Dependency - Begin Project Dependency - Project_Dep_Name libldbm - End Project Dependency -}}} - -############################################################################### - Project: "libavl"=..\libraries\libavl\libavl.dsp - Package Owner=<4> Package=<5> diff --git a/servers/slapd/back-ldbm/tools.c b/servers/slapd/back-ldbm/tools.c index fe593c7144..11d18f15fd 100644 --- a/servers/slapd/back-ldbm/tools.c +++ b/servers/slapd/back-ldbm/tools.c @@ -94,7 +94,6 @@ ID ldbm_tool_entry_next( { Datum key; ID id; - int count; assert( slapMode & SLAP_TOOL_MODE ); assert( id2entry != NULL ); @@ -211,7 +210,7 @@ int ldbm_tool_index_attr( Debug( LDAP_DEBUG_ANY, "<= index_read NULL (could not open %s%s)\n", at_cn, LDBM_SUFFIX, 0 ); - return( NULL ); + return 0; } ldbm_cache_close( be, db );