src/main.c
changeset 495 5196f8110473
parent 476 48e45439fd9a
     1.1 --- a/src/main.c	Mon Jul 04 13:04:19 2016 +0100
     1.2 +++ b/src/main.c	Tue Mar 06 12:39:15 2018 +0000
     1.3 @@ -682,7 +682,7 @@
     1.4  }
     1.5  #endif
     1.6  
     1.7 -void init_uri_handler(void)
     1.8 +static void init_uri_handler(void)
     1.9  {
    1.10  #ifdef HAVE_CURL
    1.11  	struct razor_uri_vtable uri_vtable={0,};
    1.12 @@ -741,7 +741,6 @@
    1.13  	int retval;
    1.14  	struct razor_set *set;
    1.15  	struct razor_atomic *atomic;
    1.16 -	char buffer[512];
    1.17  
    1.18  	switch (razor_getopt(argc, argv, 0, NULL, "", NULL)) {
    1.19  		case -2:
    1.20 @@ -1088,7 +1087,7 @@
    1.21  	const char *preunprog, *preun, *postunprog, *postun;
    1.22  	const char *install_prefix;
    1.23  	const char *const *prefixes;
    1.24 -	char *file, *s, *uri, *filename;
    1.25 +	char *s, *uri, *filename;
    1.26  	uint32_t flags;
    1.27  
    1.28  	importer = razor_importer_create();