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
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 @@
#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