tools/counter: Remove unneeded semicolon
Subsystems (3)
PATCH 1/1 tools/counter: Remove unneeded semicolon
./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon ./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon ./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon
--- tools/counter/counter_watch_events.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tools/counter/counter_watch_events.c +3 -3
@@ -230,8 +230,8 @@ int main(int argc, char **argv)break ;default :return EXIT_FAILURE ; - }; - }; + } + }if (nwatch) { watches =calloc (nwatch,sizeof (*watches));
@@ -330,7 +330,7 @@ int main(int argc, char **argv) i++;break ; } - }; + }if (debug)print_watch (watches, nwatch);
Signature · 1 line
2.20.1.7.g153144c
Quoted 7 lines · Yang Li
./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon ./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon ./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>
Hi Yang,
Thanks for your patch,
Best Regards,
Fabrice
Quoted 28 lines
--- tools/counter/counter_watch_events.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)tools/counter/counter_watch_events.c +3
-3@@ -230,8 +230,8 @@ int main(int argc, char **argv)break ;default :return EXIT_FAILURE ; - }; - }; + } + }if (nwatch) { watches =calloc (nwatch,sizeof (*watches));@@ -330,7 +330,7 @@ int main(int argc, char **argv) i++;break ; } - }; + }if (debug)print_watch (watches, nwatch);
William Breathitt Gray
AppliedQuoted 5 lines · Yang Li
./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon ./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon ./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon
Applied, thanks!
[1/1] tools/counter: Remove unneeded semicolon
commit: b7760cf94d4f2665bf40d08dd69aa5d0b4aa593f
William Breathitt Gray