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 | 87f460f8ba83d04eaeadb2d76be5071080b199cf (patch) | |
| tree | 88a2cf47da5f092efb1af95d0c3b3a9b6d28c986 | |
| parent | b7cabbe2958fc1ff1eec098184494953244e5f06 (diff) | |
| download | bcm5719-llvm-87f460f8ba83d04eaeadb2d76be5071080b199cf.tar.gz bcm5719-llvm-87f460f8ba83d04eaeadb2d76be5071080b199cf.zip | |
Silence a warning saying that the variables always resolve to "true" in an
expression.
llvm-svn: 43610
| -rw-r--r-- | llvm/lib/System/ltdl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/System/ltdl.c b/llvm/lib/System/ltdl.c index 67631bedd13..23db62f69d0 100644 --- a/llvm/lib/System/ltdl.c +++ b/llvm/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 |

