mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Fix unused variable warning in clang. (nw)
This commit is contained in:
parent
0328139e85
commit
3084d045fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user