diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-21 20:32:24 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-21 20:57:05 +0100 |
commit | 9d5bcff31cfc511bfead51ee1a743300c520b243 (patch) | |
tree | 396c9513c83421ae1827908d8bd82cc798261323 | |
parent | WaE: unreadVariable (diff) | |
download | core-9d5bcff31cfc511bfead51ee1a743300c520b243.tar.gz core-9d5bcff31cfc511bfead51ee1a743300c520b243.zip |
WaE: unreadVariable
-rw-r--r-- | sal/osl/unx/module.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/osl/unx/module.c b/sal/osl/unx/module.c index b88080b31219..ea41a7e9b9b4 100644 --- a/sal/osl/unx/module.c +++ b/sal/osl/unx/module.c @@ -55,7 +55,6 @@ static sal_Bool getModulePathFromAddress(void * address, rtl_String ** path) { /* Bah, we do want to use dladdr here also on iOS, I think? */ #if !defined(NO_DL_FUNCTIONS) || defined(IOS) #if defined(AIX) - int i; int size = 4 * 1024; char *buf, *filename=NULL; struct ld_info *lp; @@ -63,7 +62,7 @@ static sal_Bool getModulePathFromAddress(void * address, rtl_String ** path) { if ((buf = malloc(size)) == NULL) return result; - while((i = loadquery(L_GETINFO, buf, size)) == -1 && errno == ENOMEM) + while(loadquery(L_GETINFO, buf, size) == -1 && errno == ENOMEM) { size += 4 * 1024; if ((buf = malloc(size)) == NULL) |