Comment out unused signs_to_unix to silence compiler warning about forbidden zero-size array with -pedantic

This commit is contained in:
Adrian Frühwirth 2022-05-16 10:13:49 +02:00
parent a0e6e6bac9
commit 382f55c5f8
2 changed files with 4 additions and 2 deletions

View File

@ -59,10 +59,11 @@ SignToMac signs_to_mac[] = {
// File signature array.
/*
SignToUnix signs_to_unix[] = {
};
*/
// Call Unix "file" command on a path.

View File

@ -57,8 +57,9 @@ struct SignToUnix {
extern SignToMac signs_to_mac[];
// File signature array.
/*
extern SignToUnix signs_to_unix[];
*/
// Get the MAC type (and creator) for a specific file.