diff --git a/cppcheck.sup b/cppcheck.sup index 31acd1554..0c003b15d 100644 --- a/cppcheck.sup +++ b/cppcheck.sup @@ -1,3 +1,3 @@ // These are correct and are used to find the base (zero) pin. -thisSubtraction:netlist.h:4168 -thisSubtraction:netlist.h:4177 +thisSubtraction:netlist.h:4169 +thisSubtraction:netlist.h:4178 diff --git a/tgt-pcb/Makefile.in b/tgt-pcb/Makefile.in index 9178dcca6..4f894f0dc 100644 --- a/tgt-pcb/Makefile.in +++ b/tgt-pcb/Makefile.in @@ -58,7 +58,7 @@ distclean: clean rm -f Makefile config.log rm -f stamp-pcb_config-h pcb_config.h -cppcheck: $(O:.o=.c) +cppcheck: $(O:.o=.cc) cppcheck --enable=all -f $(INCLUDE_PATH) $^ Makefile: $(srcdir)/Makefile.in ../config.status diff --git a/vvp/vthread.cc b/vvp/vthread.cc index a949d00e9..3fd4c0719 100644 --- a/vvp/vthread.cc +++ b/vvp/vthread.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2011 Stephen Williams (steve@icarus.com) + * Copyright (c) 2001-2012 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -3574,8 +3574,6 @@ bool of_PAD(vthread_t thr, vvp_code_t cp) vvp_vector4_t tmp (cp->number, pad_bit); thr->bits4.set_vec(cp->bit_idx[0], tmp); return true; - - return true; } /*