summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-11 20:07:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-11 22:02:35 -0700
commitb90ea68fd126e555122b25aa567555f9f7035078 (patch)
treeb0206e55c0516116f6ded4d0c011d5b4552e36c1 /file.c
parentf5ef74202b8295400e5f26d1fa80b90223f822da (diff)
downloadsubsurface-b90ea68fd126e555122b25aa567555f9f7035078.tar.gz
Disable non-functional Cochran code
There's no point in compiling this into the binary. It does not work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index 0e71a5801..bb7121bbd 100644
--- a/file.c
+++ b/file.c
@@ -233,9 +233,11 @@ static int open_by_filename(const char *filename, const char *fmt, struct memblo
if (!strcasecmp(fmt, "DLD"))
return try_to_open_zip(filename, mem, error);
+#if ONCE_COCHRAN_IS_SUPPORTED
/* Truly nasty intentionally obfuscated Cochran Anal software */
if (!strcasecmp(fmt, "CAN"))
return try_to_open_cochran(filename, mem, error);
+#endif
/* Cochran export comma-separated-value files */
if (!strcasecmp(fmt, "DPT"))