Message ID | 20221207093937.62048-1-warthog618@gmail.com |
---|---|
State | New |
Headers | show |
Series | [libgpiod] tools: gpioset: remove pointless whitespace | expand |
On Wed, Dec 7, 2022 at 10:39 AM Kent Gibson <warthog618@gmail.com> wrote: > > Remove pointless whitespace in interact(). > > Signed-off-by: Kent Gibson <warthog618@gmail.com> > --- > tools/gpioset.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/tools/gpioset.c b/tools/gpioset.c > index c49d229..68b3922 100644 > --- a/tools/gpioset.c > +++ b/tools/gpioset.c > @@ -842,8 +842,7 @@ static void interact(struct gpiod_line_request **requests, > } > > printf("unknown command: '%s'\n", words[0]); > - printf("Try the 'help' command\n") > - ; > + printf("Try the 'help' command\n"); > > cmd_ok: > for (i = 0; isspace(line[i]); i++) > -- > 2.38.1 > I've already fixed that automatically with my clang-format sweep of the tree, thanks! Bart
On Wed, Dec 07, 2022 at 11:16:19AM +0100, Bartosz Golaszewski wrote: > On Wed, Dec 7, 2022 at 10:39 AM Kent Gibson <warthog618@gmail.com> wrote: > > > > Remove pointless whitespace in interact(). > > > > Signed-off-by: Kent Gibson <warthog618@gmail.com> > > --- > > tools/gpioset.c | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/tools/gpioset.c b/tools/gpioset.c > > index c49d229..68b3922 100644 > > --- a/tools/gpioset.c > > +++ b/tools/gpioset.c > > @@ -842,8 +842,7 @@ static void interact(struct gpiod_line_request **requests, > > } > > > > printf("unknown command: '%s'\n", words[0]); > > - printf("Try the 'help' command\n") > > - ; > > + printf("Try the 'help' command\n"); > > > > cmd_ok: > > for (i = 0; isspace(line[i]); i++) > > -- > > 2.38.1 > > > > I've already fixed that automatically with my clang-format sweep of > the tree, thanks! > Haha, so you have. Nice. Cheers, Kent.
diff --git a/tools/gpioset.c b/tools/gpioset.c index c49d229..68b3922 100644 --- a/tools/gpioset.c +++ b/tools/gpioset.c @@ -842,8 +842,7 @@ static void interact(struct gpiod_line_request **requests, } printf("unknown command: '%s'\n", words[0]); - printf("Try the 'help' command\n") - ; + printf("Try the 'help' command\n"); cmd_ok: for (i = 0; isspace(line[i]); i++)
Remove pointless whitespace in interact(). Signed-off-by: Kent Gibson <warthog618@gmail.com> --- tools/gpioset.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)