LCOV - code coverage report
Current view: top level - issm-precice - compiler.hpp (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 2 2
Test Date: 2026-08-10 06:53:29 Functions: 100.0 % 1 1

            Line data    Source code
       1              : // SPDX-FileCopyrightText: 2024 Daniel Abele <daniel.abele@dlr.de>
       2              : //
       3              : // SPDX-License-Identifier: BSD-3-Clause
       4              : 
       5              : #pragma once
       6              : 
       7              : #include "issm-precice/config.hpp"
       8              : 
       9              : namespace ipc
      10              : {
      11              : 
      12              : /**
      13              :  * Mark a variable as unused.
      14              :  * Avoids compiler diagnostics about unused variables, e.g., due to conditional
      15              :  * compilation.
      16              :  * Prefer not declaring the variable at all or unnamed function parameters. 
      17              :  */
      18            4 : template<class... T> void maybe_unused(T&&...)
      19              : {
      20            4 : }
      21              : 
      22              : } // namespace ipc
        

Generated by: LCOV version 2.0-1