summaryrefslogtreecommitdiff
path: root/metastore.c
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2015-09-02 23:59:58 +0200
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2015-09-02 23:59:58 +0200
commit0a7170c8156b7256973b265b6c3ba53842ef4075 (patch)
tree078a013a2586c0be5b4fee60dd0cd0665b819fee /metastore.c
parent0288a9ecb082b30a7206279d13af9bdb036adfce (diff)
metastore.c: Remove unused parameters from functions.
Diffstat (limited to 'metastore.c')
-rw-r--r--metastore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/metastore.c b/metastore.c
index 38901de..f23c2b2 100644
--- a/metastore.c
+++ b/metastore.c
@@ -260,7 +260,7 @@ compare_fix(struct metaentry *real, struct metaentry *stored, int cmp)
* recreating them.
*/
static void
-fixup_emptydirs(struct metahash *real, struct metahash *stored)
+fixup_emptydirs(void)
{
struct metaentry *entry;
struct metaentry *cur;
@@ -441,7 +441,7 @@ static struct option long_options[] = {
/* Main function */
int
-main(int argc, char **argv, char **envp)
+main(int argc, char **argv)
{
int i, c;
struct metahash *real = NULL;
@@ -605,7 +605,7 @@ main(int argc, char **argv, char **envp)
mentries_compare(real, stored, compare_fix, &settings);
if (settings.do_emptydirs)
- fixup_emptydirs(real, stored);
+ fixup_emptydirs();
if (settings.do_removeemptydirs)
fixup_newemptydirs();
break;