summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-export.c
diff options
context:
space:
mode:
authorDan Nicholson <dbn@endlessos.org>2023-02-07 14:48:15 -0700
committerDan Nicholson <dbn@endlessos.org>2023-02-07 14:50:08 -0700
commitb54f4864893e078dc496d9c479e8b2568d12659d (patch)
tree1f5ab8711c8716e10c66d7d0d00d1dc6b3914108 /src/ostree/ot-builtin-export.c
parentaf505336c2e95820c98fc8e32bce665d5a03c795 (diff)
downloadostree-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/ostree/ot-builtin-export.c')
-rw-r--r--src/ostree/ot-builtin-export.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ostree/ot-builtin-export.c b/src/ostree/ot-builtin-export.c
index bcf7da56..a8929ec1 100644
--- a/src/ostree/ot-builtin-export.c
+++ b/src/ostree/ot-builtin-export.c
@@ -82,7 +82,7 @@ ostree_builtin_export (int argc, char **argv, OstreeCommandInvocation *invocatio
if (!ostree_option_context_parse (context, options, &argc, &argv, invocation, &repo, cancellable, error))
goto out;
-#ifdef HAVE_LIBARCHIVE
+#ifdef HAVE_LIBARCHIVE
if (argc <= 1)
{
@@ -157,8 +157,8 @@ ostree_builtin_export (int argc, char **argv, OstreeCommandInvocation *invocatio
g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
"This version of ostree is not compiled with libarchive support");
goto out;
-#endif
-
+#endif
+
ret = TRUE;
out:
return ret;