From 70beb915a9630e17789865a5cc6edc1a249d81cc Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 12 Feb 2018 23:01:33 +0100 Subject: [PATCH] Kill unused private variable surf_action_state_names[]. --- src/surf/surf_interface.cpp | 11 +---------- src/surf/surf_private.hpp | 4 +--- 2 files changed, 2 insertions(+), 13 deletions(-) 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 */ -- 2.20.1