X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f4d117984401d94136223dc1d254a288c06606f2..08b4fe22433e1835814267fcd59c52799ab5b8c1:/src/bindings/lua/lua_state_cloner.c diff --git a/src/bindings/lua/lua_state_cloner.c b/src/bindings/lua/lua_state_cloner.c index ce6d83c1b5..93d8271b48 100644 --- a/src/bindings/lua/lua_state_cloner.c +++ b/src/bindings/lua/lua_state_cloner.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010. The SimGrid Team. +/* Copyright (c) 2010-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -465,7 +465,7 @@ static void sglua_copy_function(lua_State* src, lua_State* dst) { buffer.data = xbt_new(char, buffer.capacity); /* copy the binary chunk from src into a buffer */ - _XBT_GNUC_UNUSED int error = lua_dump(src, sglua_memory_writer, &buffer); + XBT_ATTRIB_UNUSED int error = lua_dump(src, sglua_memory_writer, &buffer); xbt_assert(!error, "Failed to dump the function from the source state: error %d", error); XBT_DEBUG("Fonction dumped: %zu bytes", buffer.size);