mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Remove empty statements. No functional change intended.
Remove stray semicolons, mostly by capturing them in macros accurately. This removes a ton on lint warnings from CLion.
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ void VlcOptions::parseOptsList(int argc, char** argv) {
|
||||
// Note argc and argv DO NOT INCLUDE the filename in [0]!!!
|
||||
// May be called recursively when there are -f files.
|
||||
#define shift \
|
||||
{ ++i; }
|
||||
do { ++i; } while (false)
|
||||
for (int i = 0; i < argc;) {
|
||||
UINFO(9, " Option: " << argv[i] << endl);
|
||||
if (argv[i][0] == '-') {
|
||||
|
||||
Reference in New Issue
Block a user