From 1ca54c5df12dc7fd5e9891b64d3e8eb61848e08e Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 24 Nov 2015 10:56:34 +0100 Subject: Make compiler warning go away False positive about unused variable in GCC 5.2.0. --- src/mint-lib/mint_api_refresh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mint-lib/mint_api_refresh.c b/src/mint-lib/mint_api_refresh.c index c33d1714a..a779bdbc3 100644 --- a/src/mint-lib/mint_api_refresh.c +++ b/src/mint-lib/mint_api_refresh.c @@ -676,6 +676,7 @@ serialize_melt_data (const struct MeltData *md, unsigned int j; size = 0; + asize = (size_t) -1; /* make the compiler happy */ buf = NULL; /* we do 2 iterations, #1 to determine total size, #2 to actually construct the buffer */ -- cgit v1.2.3