Fix a few cppcheck issues and update some suppressions
This commit is contained in:
parent
fc7e7640ed
commit
62b7c52329
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue