diff options
author | Dan Nicholson <dbn@endlessos.org> | 2023-02-07 14:48:15 -0700 |
---|---|---|
committer | Dan Nicholson <dbn@endlessos.org> | 2023-02-07 14:50:08 -0700 |
commit | b54f4864893e078dc496d9c479e8b2568d12659d (patch) | |
tree | 1f5ab8711c8716e10c66d7d0d00d1dc6b3914108 /src/libostree/ostree-chain-input-stream.c | |
parent | af505336c2e95820c98fc8e32bce665d5a03c795 (diff) | |
download | ostree-b54f4864893e078dc496d9c479e8b2568d12659d.tar.gz |
Strip trailing whitespace on all C files
My editor started following the configuration in .editorconfig and is
applying this rule to many files I'm editing. Let's just get this over
with and strip everything. This was done like so:
git ls-files | grep '\.[ch]$' | xargs sed -ri 's/\s+$//'
Diffstat (limited to 'src/libostree/ostree-chain-input-stream.c')
-rw-r--r-- | src/libostree/ostree-chain-input-stream.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libostree/ostree-chain-input-stream.c b/src/libostree/ostree-chain-input-stream.c index 5ff4392a..22f40227 100644 --- a/src/libostree/ostree-chain-input-stream.c +++ b/src/libostree/ostree-chain-input-stream.c @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2011 Colin Walters <walters@verbum.org> * Copyright (C) 2022 Igalia S.L. * @@ -87,7 +87,7 @@ ostree_chain_input_stream_set_property (GObject *object, GParamSpec *pspec) { OstreeChainInputStream *self; - + self = OSTREE_CHAIN_INPUT_STREAM (object); switch (prop_id) @@ -165,7 +165,7 @@ ostree_chain_input_stream_read (GInputStream *stream, if (g_cancellable_set_error_if_cancelled (cancellable, error)) return -1; - + if (self->priv->index >= self->priv->streams->len) return 0; |