small cleanups to avoid a few ifdef _WIN32
This commit is contained in:
@@ -161,7 +161,6 @@ string mimetype(const string &fn, const struct PathStat *stp,
|
||||
|
||||
string mtype;
|
||||
|
||||
#ifndef _WIN32
|
||||
// Extended attribute has priority on everything, as per:
|
||||
// http://freedesktop.org/wiki/CommonExtendedAttributes
|
||||
if (pxattr::get(fn, "mime_type", &mtype)) {
|
||||
@@ -172,7 +171,6 @@ string mimetype(const string &fn, const struct PathStat *stp,
|
||||
return mtype;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (cfg == 0) {
|
||||
LOGERR("Mimetype: null config ??\n");
|
||||
|
||||
Reference in New Issue
Block a user