aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-21 14:33:48 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-21 15:27:10 +0100
commit26c72e77a466d6ee6291686fede2d9cfc958474c (patch)
treee1a2a2ee609479147b231cb15a327c40d3de5816
parent91e8aafc8259115b7fff81d46bee82bca036526e (diff)
Fix windows build for get_node_path test
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--tests/libsqfs/get_node_path.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libsqfs/get_node_path.c b/tests/libsqfs/get_node_path.c
index d2ca9f8..c76cc1c 100644
--- a/tests/libsqfs/get_node_path.c
+++ b/tests/libsqfs/get_node_path.c
@@ -11,11 +11,13 @@
#include "sqfs/dir_reader.h"
#include "sqfs/error.h"
-int main(void)
+int main(int argc, char **argv)
{
sqfs_tree_node_t *n0, *n1, *n2;
char *str;
int ret;
+ (void)argc;
+ (void)argv;
n0 = calloc(1, sizeof(*n0) + 16);
TEST_NOT_NULL(n0);