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 | d03a6a924264fb3e464c8fca3a63c5cb96a84892 (patch) | |
tree | 6686d4cb9b05b828fdf9e27c459fd3ca8053bc77 /lib/System | |
parent | 0d642871f512fa9bb83eca5f5b0176e9e42a339a (diff) | |
download | external_llvm-d03a6a924264fb3e464c8fca3a63c5cb96a84892.zip external_llvm-d03a6a924264fb3e464c8fca3a63c5cb96a84892.tar.gz external_llvm-d03a6a924264fb3e464c8fca3a63c5cb96a84892.tar.bz2 |
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/System')
-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 67631be..23db62f 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 |