From f72726c7d88b6640e6cebb974f907aa585aab074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Fri, 10 Mar 2017 22:24:57 +0100 Subject: [PATCH] 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 --- tests/test-rollsum-cli.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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];