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
This commit is contained in:
André Klitzing 2017-03-10 22:24:57 +01:00 committed by Atomic Bot
parent e02e900206
commit f72726c7d8
1 changed files with 1 additions and 3 deletions

View File

@ -21,8 +21,6 @@
#include "config.h" #include "config.h"
#include "ostree-rollsum.h" #include "ostree-rollsum.h"
#include <unistd.h>
#include <stdlib.h>
int int
main (int argc, char **argv) main (int argc, char **argv)
@ -39,7 +37,7 @@ main (int argc, char **argv)
g_setenv ("GIO_USE_VFS", "local", TRUE); g_setenv ("GIO_USE_VFS", "local", TRUE);
if (argc < 3) if (argc < 3)
exit (EXIT_FAILURE); return 1;
from_path = argv[1]; from_path = argv[1];
to_path = argv[2]; to_path = argv[2];