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:
parent
e02e900206
commit
f72726c7d8
|
|
@ -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];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue