Some cppcheck cleanup

This commit is contained in:
Cary R
2025-10-12 17:37:50 -07:00
parent d79e49a372
commit fcb543d6e5
49 changed files with 184 additions and 159 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2020 Stephen Williams ([email protected])
* Copyright (c) 2012-2025 Stephen Williams ([email protected])
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@@ -24,7 +24,7 @@
void darray_new(ivl_type_t element_type, unsigned size_reg)
{
int wid;
char*signed_char;
const char*signed_char;
ivl_variable_type_t type = ivl_type_base(element_type);
if ((type == IVL_VT_BOOL) || (type == IVL_VT_LOGIC)) {