diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-11-01 09:38:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-11-01 09:38:19 +0000 |
commit | 0624133aa0e6fc1ca4535a872c5ceb0630161161 (patch) | |
tree | 6686d4cb9b05b828fdf9e27c459fd3ca8053bc77 /lib | |
parent | 79bb1a2dc41c5c95c316a6e130bb6759f42a4732 (diff) | |
download | external_llvm-0624133aa0e6fc1ca4535a872c5ceb0630161161.tar.gz external_llvm-0624133aa0e6fc1ca4535a872c5ceb0630161161.tar.bz2 external_llvm-0624133aa0e6fc1ca4535a872c5ceb0630161161.zip |
Silence a warning saying that the variables always resolve to "true" in an
expression.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/System/ltdl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/System/ltdl.c b/lib/System/ltdl.c index 67631bedd1..23db62f69d 100644 --- a/lib/System/ltdl.c +++ b/lib/System/ltdl.c @@ -865,13 +865,13 @@ struct lt_dlhandle_struct { #define LT_DLSTRERROR(name) lt_dlerror_strings[LT_CONC(LT_ERROR_,name)] -static const char objdir[] = LTDL_OBJDIR; -static const char archive_ext[] = LTDL_ARCHIVE_EXT; +static const char *objdir = LTDL_OBJDIR; +static const char *archive_ext = LTDL_ARCHIVE_EXT; #ifdef LTDL_SHLIB_EXT -static const char shlib_ext[] = LTDL_SHLIB_EXT; +static const char *shlib_ext = LTDL_SHLIB_EXT; #endif #ifdef LTDL_SYSSEARCHPATH -static const char sys_search_path[] = LTDL_SYSSEARCHPATH; +static const char *sys_search_path = LTDL_SYSSEARCHPATH; #endif |