diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-11-24 10:56:34 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-11-24 11:24:25 +0100 |
commit | 1ca54c5df12dc7fd5e9891b64d3e8eb61848e08e (patch) | |
tree | 15a83d64ab4e4f942fbae0ab27478ba352c87e91 | |
parent | 2f9ae4aa802dbc7c716154f87040ef7a9ed469c4 (diff) |
Make compiler warning go away
False positive about unused variable in GCC 5.2.0.
-rw-r--r-- | src/mint-lib/mint_api_refresh.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |