From: André Klitzing Date: Fri, 10 Mar 2017 21:24:57 +0000 (+0100) Subject: Avoid unnecessary includes X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~39^2~55 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f72726c7d88b6640e6cebb974f907aa585aab074;p=ostree.git Avoid unnecessary includes "return" will do the same here. Also that style is used at the end of the function. Closes: #732 Approved by: jlebon --- diff --git a/tests/test-rollsum-cli.c b/tests/test-rollsum-cli.c index 4f24477c..a00e4b73 100644 --- a/tests/test-rollsum-cli.c +++ b/tests/test-rollsum-cli.c @@ -21,8 +21,6 @@ #include "config.h" #include "ostree-rollsum.h" -#include -#include int main (int argc, char **argv) @@ -39,7 +37,7 @@ main (int argc, char **argv) g_setenv ("GIO_USE_VFS", "local", TRUE); if (argc < 3) - exit (EXIT_FAILURE); + return 1; from_path = argv[1]; to_path = argv[2];