mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +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
@@ -778,7 +778,7 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char
|
||||
addArg(argv[i]); // -f's really should be inserted in the middle, but this is for debug
|
||||
}
|
||||
#define shift \
|
||||
{ ++i; }
|
||||
do { ++i; } while (false)
|
||||
for (int i = 0; i < argc;) {
|
||||
UINFO(9, " Option: " << argv[i] << endl);
|
||||
// + options
|
||||
|
||||
Reference in New Issue
Block a user