From 474d6f217712f6977ac6738fd6ab8949f348deb5 Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Wed, 12 Feb 2020 08:35:24 +0100
Subject: [PATCH] Mark out-comment used args in gpuAssert

---
 src/pystencils_autodiff/framework_integration/astnodes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pystencils_autodiff/framework_integration/astnodes.py b/src/pystencils_autodiff/framework_integration/astnodes.py
index 4b1794e..df11dab 100644
--- a/src/pystencils_autodiff/framework_integration/astnodes.py
+++ b/src/pystencils_autodiff/framework_integration/astnodes.py
@@ -255,7 +255,7 @@ inline static void gpuAssert(cudaError_t code, const char* function, const char
 }
 # else
 # define gpuErrchk(ans) { gpuAssert((ans), __FILE__, __LINE__); }
-inline static void gpuAssert(cudaError_t code, const char* function, const char *file, int line, bool abort=true)
+inline static void gpuAssert(cudaError_t code, const char* /*function*/, const char *file, int line, bool abort=true)
 {
    if (code != cudaSuccess)
    {
-- 
GitLab