summaryrefslogtreecommitdiff
path: root/src/base_media_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_media_func.h')
-rw-r--r--src/base_media_func.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/base_media_func.h b/src/base_media_func.h
index f7afca0ed..ed954360a 100644
--- a/src/base_media_func.h
+++ b/src/base_media_func.h
@@ -277,7 +277,6 @@ template <class Tbase_set>
return p;
}
-#if defined(ENABLE_NETWORK)
#include "network/network_content.h"
template <class Tbase_set> const char *TryGetBaseSetFile(const ContentInfo *ci, bool md5sum, const Tbase_set *s)
@@ -307,22 +306,6 @@ template <class Tbase_set>
(TryGetBaseSetFile(ci, md5sum, BaseMedia<Tbase_set>::duplicate_sets) != NULL);
}
-#else
-
-template <class Tbase_set>
-const char *TryGetBaseSetFile(const ContentInfo *ci, bool md5sum, const Tbase_set *s)
-{
- return NULL;
-}
-
-template <class Tbase_set>
-/* static */ bool BaseMedia<Tbase_set>::HasSet(const ContentInfo *ci, bool md5sum)
-{
- return false;
-}
-
-#endif /* ENABLE_NETWORK */
-
/**
* Count the number of available graphics sets.
* @return the number of sets