diff options
author | Eric Albright <eric_albright@sil.org> | 2008-05-02 05:58:32 +0000 |
---|---|---|
committer | Eric Albright <eric_albright@sil.org> | 2008-05-02 05:58:32 +0000 |
commit | f04f81e52d73fce51d5f2451bd0a2825b8c15caa (patch) | |
tree | 22fbc7821cf50672b008c459d046f99896726c94 | |
parent | 37bf702437d0d2800176aa47fdf0925246676403 (diff) | |
download | enchant-f04f81e52d73fce51d5f2451bd0a2825b8c15caa.tar.gz |
Remove build warnings
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@23734 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | msvc/libenchant_myspell.vcproj | 4 | ||||
-rw-r--r-- | src/myspell/hashmgr.cxx | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/msvc/libenchant_myspell.vcproj b/msvc/libenchant_myspell.vcproj index aad3184..d727f29 100644 --- a/msvc/libenchant_myspell.vcproj +++ b/msvc/libenchant_myspell.vcproj @@ -41,7 +41,7 @@ Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=""$(SolutionDir)..\lib\glib\include\glib-2.0";"$(SolutionDir)..\src";"$(SolutionDir)..\lib\myspell";"
- PreprocessorDefinitions="_ENCHANT_BUILD=1;_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_WINDOWS;_USRDLL;MYSPELL_PROVIDER_EXPORTS"
+ PreprocessorDefinitions="HUNSPELL_STATIC;_ENCHANT_BUILD=1;_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_WINDOWS;_USRDLL;MYSPELL_PROVIDER_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -119,7 +119,7 @@ <Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""$(SolutionDir)..\lib\glib\include\glib-2.0";"$(SolutionDir)..\src";"$(SolutionDir)..\lib\myspell";"
- PreprocessorDefinitions="_ENCHANT_BUILD=1;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;MYSPELL_PROVIDER_EXPORTS"
+ PreprocessorDefinitions="HUNSPELL_STATIC;_ENCHANT_BUILD=1;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;MYSPELL_PROVIDER_EXPORTS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
diff --git a/src/myspell/hashmgr.cxx b/src/myspell/hashmgr.cxx index a1ca329..ed11dd2 100644 --- a/src/myspell/hashmgr.cxx +++ b/src/myspell/hashmgr.cxx @@ -284,6 +284,7 @@ int HashMgr::remove(const char * word) } dp = dp->next_homonym; } + return 0; } /* remove forbidden flag to add a personal word to the hash */ |