commit 1ca54c5df12dc7fd5e9891b64d3e8eb61848e08e
parent 2f9ae4aa802dbc7c716154f87040ef7a9ed469c4
Author: Florian Dold <florian.dold@gmail.com>
Date: Tue, 24 Nov 2015 10:56:34 +0100
Make compiler warning go away
False positive about unused variable in GCC 5.2.0.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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 */