diff options
| author | 2025-01-03 15:58:54 +0700 | |
|---|---|---|
| committer | 2025-01-03 15:59:08 +0700 | |
| commit | 81707184924baec5e6bc6d429007389eca5187d7 (patch) | |
| tree | d3cd76313c128870831bea6d3524aa9fc143796a /src/lib | |
| parent | 2692ea19b57b65819007e1cba996f06bb1cadaed (diff) | |
general: housekeeping and msvc warning elimination
* avoid potential unsafe use of bool
* avoid potentially empty controlled statements
* annotate some unused variables
* remove some undefined functions
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/netlist/tools/nl_convert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/tools/nl_convert.cpp b/src/lib/netlist/tools/nl_convert.cpp index 8fe3b19eca8..2859034c166 100644 --- a/src/lib/netlist/tools/nl_convert.cpp +++ b/src/lib/netlist/tools/nl_convert.cpp @@ -340,7 +340,7 @@ void nl_convert_spice_t::convert_block(const str_list &contents) { process_line(line); } - catch (const plib::pexception &e) + catch ([[maybe_unused]] const plib::pexception &e) { fprintf(stderr, "Error on line: <%d>\n", linenumber); throw; |
