]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/inspect/DwarfExpression.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill duplicate function + typos.
[simgrid.git] / src / mc / inspect / DwarfExpression.cpp
index 20e776171beebd7a07e0bea0a6816616836f453d..0a4f4303339b9a6c665b50b9c014e5bfe8d62a1e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2014-2022. 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. */
@@ -78,7 +78,7 @@ void execute(const Dwarf_Op* ops, std::size_t n, const ExpressionContext& contex
 
         // Pop/drop the top of the stack:
       case DW_OP_drop:
-        stack.pop();
+        (void)stack.pop();
         break;
 
       case DW_OP_swap: