Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Replace redundant type with "auto" (include/ and src/).
[simgrid.git] / src / bindings / lua / simgrid_lua.cpp
index 63d3dd9..7a0f6f9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2019. The SimGrid Team.
+/* Copyright (c) 2010-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -26,8 +26,8 @@ extern "C" int luaopen_simgrid(lua_State* L);
  *
  * - Argument 1 (string): the text to print
  */
-static int debug(lua_State* L) {
-
+static int debug(lua_State* L)
+{
   const char* str = luaL_checkstring(L, 1);
   XBT_DEBUG("%s", str);
   return 0;