More cppcheck cleanup
This commit is contained in:
parent
87d9d0ac74
commit
3b209301e2
55
cppcheck.sup
55
cppcheck.sup
|
|
@ -636,3 +636,58 @@ unusedFunction:t-dll-api.cc:1007
|
|||
unusedFunction:t-dll-api.cc:1016
|
||||
// ivl_udp_sequ()
|
||||
unusedFunction:t-dll-api.cc:980
|
||||
|
||||
// Unused routines
|
||||
// has_compat_attributes()
|
||||
unusedFunction:Attrib.cc:72
|
||||
// bl_type()
|
||||
unusedFunction:Statement.h:186
|
||||
// chain_args()
|
||||
unusedFunction:Statement.h:332
|
||||
// gn_modules_nest()
|
||||
unusedFunction:compiler.h:228
|
||||
// driven_mask()
|
||||
unusedFunction:link_const.cc:275
|
||||
// find_root_scope()
|
||||
unusedFunction:net_design.cc:121
|
||||
// assign_lval()
|
||||
unusedFunction:net_link.cc:282
|
||||
// intersect()
|
||||
unusedFunction:net_link.cc:689
|
||||
// get_def_fileline()
|
||||
unusedFunction:net_scope.cc:201
|
||||
// get_module_port_info()
|
||||
unusedFunction:net_scope.cc:591
|
||||
// find_link_signal()
|
||||
unusedFunction:netlist.cc:111
|
||||
// find_link()
|
||||
unusedFunction:netlist.cc:297
|
||||
// set_module_port_index()
|
||||
unusedFunction:netlist.cc:649
|
||||
// width_a()
|
||||
unusedFunction:netlist.cc:1674
|
||||
// width_b()
|
||||
unusedFunction:netlist.cc:1679
|
||||
// result_sig()
|
||||
unusedFunction:netlist.cc:2180
|
||||
// test_protected()
|
||||
unusedFunction:property_qual.h:50
|
||||
// test_rand()
|
||||
unusedFunction:property_qual.h:52
|
||||
// test_randc()
|
||||
unusedFunction:property_qual.h:53
|
||||
// sub_off_from_expr_()
|
||||
unusedFunction:t-dll-expr.cc:55
|
||||
// mul_expr_by_const_()
|
||||
unusedFunction:t-dll-expr.cc:91
|
||||
// net_assign()
|
||||
unusedFunction:t-dll.cc:2368
|
||||
// is_before()
|
||||
unusedFunction:verinum.cc:592
|
||||
|
||||
// Errors in the generated yacc and lex files
|
||||
cstyleCast:<stdout>
|
||||
syntaxError:<stdout>
|
||||
unusedFunction:<stdout>
|
||||
duplicateBreak:lexor.lex
|
||||
syntaxError:parse.cc
|
||||
|
|
|
|||
4
dosify.c
4
dosify.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001-2009 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2001-2025 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
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
# include <stdio.h>
|
||||
|
||||
int main(int argc, char*argv[])
|
||||
int main(int argc, const char*argv[])
|
||||
{
|
||||
FILE*ifile;
|
||||
FILE*ofile;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
# include <string.h>
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if !defined(_MSC_VER)
|
||||
/*
|
||||
* Define a safer version of strdup().
|
||||
*/
|
||||
|
|
@ -101,6 +101,7 @@
|
|||
} \
|
||||
__ivl_rtn; \
|
||||
})
|
||||
#endif
|
||||
|
||||
#endif // !defined(_MSC_VER)
|
||||
|
||||
#endif /* IVL_ivl_alloc_H */
|
||||
|
|
|
|||
Loading…
Reference in New Issue