From d03a6a924264fb3e464c8fca3a63c5cb96a84892 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 1 Nov 2007 09:38:19 +0000 Subject: [PATCH] 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 --- lib/System/ltdl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/System/ltdl.c b/lib/System/ltdl.c index 67631bedd13..23db62f69d0 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 -- 2.34.1