From 1a5f4a56fc31a238326175e020ba9f71df09e0a3 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 27 Mar 2016 13:57:59 +0100 Subject: [PATCH] fix realpath on win32 oops, extra decl was shadowing result --- libvips/iofuncs/util.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libvips/iofuncs/util.c b/libvips/iofuncs/util.c index 23c9cacf..da1d021e 100644 --- a/libvips/iofuncs/util.c +++ b/libvips/iofuncs/util.c @@ -1746,8 +1746,6 @@ vips_realpath( const char *path ) } #else /*!HAVE_REALPATH*/ { - char *real; - if( !g_path_is_absolute( path ) ) { char *cwd;