From 3084d045fd88d70209a9a933caa7f56bb8566810 Mon Sep 17 00:00:00 2001 From: couriersud Date: Fri, 22 May 2015 09:14:29 +0200 Subject: [PATCH] Fix unused variable warning in clang. (nw) --- src/tools/nltool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/nltool.c b/src/tools/nltool.c index 317f3b285fa..4f627f413b6 100644 --- a/src/tools/nltool.c +++ b/src/tools/nltool.c @@ -526,7 +526,8 @@ protected: /* check for fourth terminal ... should be numeric net * including "0" or start with "N" (ltspice) */ - int nval =tt[4].as_long(&cerr); + // FIXME: we need a is_long method .. + ATTR_UNUSED int nval =tt[4].as_long(&cerr); if ((!cerr || tt[4].startsWith("N")) && tt.count() > 5) devs.add(nl_alloc(sp_dev_t, "QBJT", tt[0], tt[5]), false); else