fix compilation when libmagic is not used

This commit is contained in:
Jean-Marc Lasgouttes 2018-07-03 21:18:26 +02:00
parent 789acb4a95
commit c9fd7058ab

View 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