diff options
author | rbuj <[email protected]> | 2019-09-05 08:11:42 +0200 |
---|---|---|
committer | Martin Wimpress <[email protected]> | 2019-09-07 16:03:01 +0100 |
commit | a837a98bf1d2b82b4ac7b773b892d9a411e19e77 (patch) | |
tree | 443bf8035352dd7012181da4b9bcef7e39ec9b94 /src/fr-archive.c | |
parent | e74151786c1ec24929560438590597b493f212e1 (diff) | |
download | engrampa-a837a98bf1d2b82b4ac7b773b892d9a411e19e77.tar.bz2 engrampa-a837a98bf1d2b82b4ac7b773b892d9a411e19e77.tar.xz |
remove warnings: "ENABLE_MAGIC" is not defined, evaluates to 0
fr-archive.c:45:5: warning: "ENABLE_MAGIC" is not defined, evaluates to 0 [-Wundef]
fr-archive.c:519:5: warning: "ENABLE_MAGIC" is not defined, evaluates to 0 [-Wundef]
Diffstat (limited to 'src/fr-archive.c')
-rw-r--r-- | src/fr-archive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fr-archive.c b/src/fr-archive.c index 6605ff3..c41aa7e 100644 --- a/src/fr-archive.c +++ b/src/fr-archive.c @@ -42,7 +42,7 @@ #include "fr-process.h" #include "fr-init.h" -#if ENABLE_MAGIC +#ifdef ENABLE_MAGIC #include <magic.h> #endif @@ -516,7 +516,7 @@ get_mime_type_from_content (GFile *file) static const char * get_mime_type_from_magic_numbers (GFile *file) { -#if ENABLE_MAGIC +#ifdef ENABLE_MAGIC static magic_t magic = NULL; if (! magic) { |