From: Arnaud Giersch Date: Mon, 12 Feb 2018 22:01:33 +0000 (+0100) Subject: Kill unused private variable surf_action_state_names[]. X-Git-Tag: v3.19~232 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/70beb915a9630e17789865a5cc6edc1a249d81cc?hp=228a72910180041eed49b9f0f5866e6ecac0b000 Kill unused private variable surf_action_state_names[]. --- diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 02dfd42156..7a5a55cd97 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -578,15 +578,6 @@ lmm_constraint_t Resource::constraint() const * Action * **********/ -const char *surf_action_state_names[6] = { - "SURF_ACTION_READY", - "SURF_ACTION_RUNNING", - "SURF_ACTION_FAILED", - "SURF_ACTION_DONE", - "SURF_ACTION_TO_FREE", - "SURF_ACTION_NOT_IN_THE_SYSTEM" -}; - namespace simgrid { namespace surf { diff --git a/src/surf/surf_private.hpp b/src/surf/surf_private.hpp index 41c5540b42..1d460ff07b 100644 --- a/src/surf/surf_private.hpp +++ b/src/surf/surf_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -13,8 +13,6 @@ extern "C" { -extern XBT_PRIVATE const char* surf_action_state_names[6]; - /** @ingroup SURF_interface * @brief Possible update mechanisms */