From a68524ee4a7cbf120382a7b678a7820f07b10bf5 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Fri, 1 May 2020 00:36:38 +0200 Subject: Fix various warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - unused variable ‘walk’ [-Wunused-variable] - implicit declaration of built-in function ‘free’ [-Wimplicit-function-declaration] - initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] - variable 'ram_used' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]. This is actually easily reproducible by specifying `memory_used_method = "XXX"`. - comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] (for `exponent`) --- src/print_path_exists.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/print_path_exists.c') diff --git a/src/print_path_exists.c b/src/print_path_exists.c index 504eb6c..a57cc7b 100644 --- a/src/print_path_exists.c +++ b/src/print_path_exists.c @@ -1,6 +1,7 @@ // vim:ts=4:sw=4:expandtab #include #include +#include #include #include #include -- cgit v1.2.3