From 1ca0317a351f3075b2ea0b9bb5e59ccb4bcb960b Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Wed, 16 Dec 2020 16:35:10 +0100 Subject: add more warning flags, correct syntax, add UNUSED macro, […] - added -Wall -Wextra -pedantic to the compile options - various syntax has been corrected: - static is used before const - correct integer types are used in for loops - empty newlines are added - every command has an argc and argv but some don't use them so they are marked as potentially unused if compiled on a GNUC compatible compiler - mark JSONC variables as advanced so they do not show up as generic variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tar.h') diff --git a/src/tar.h b/src/tar.h index a91a344..5cb9d50 100644 --- a/src/tar.h +++ b/src/tar.h @@ -5,4 +5,4 @@ void extract(const struct MemoryStruct* tar, const char* outputdir); -#endif \ No newline at end of file +#endif -- cgit v1.2.3