]> git.lyx.org Git - features.git/commitdiff
fix compilation when libmagic is not used
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 3 Jul 2018 19:18:26 +0000 (21:18 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 3 Jul 2018 19:18:26 +0000 (21:18 +0200)
src/support/Magic.h

index ca87f0cc14a71c3af92cfd27c9b1816586e2f4db..69ea3a66fe0f9eed56ed789da4706634be7c4203 100644 (file)
@@ -67,7 +67,7 @@ public:
                LYXERR(Debug::GRAPHICS, "Magic: libmagic support not configured");
        }
 
-       std::string file(std::string const & name) const { return empty_string; }
+       std::string file(std::string const & ) const { return empty_string(); }
 };
 
 #endif // HAVE_MAGIC_T