mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:13:23 +00:00
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>
This commit is contained in:
parent
f5ef74202b
commit
b90ea68fd1
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -167,7 +167,7 @@ GTKOBJS = info-gtk.o divelist-gtk.o planner-gtk.o statistics-gtk.o gtk-gui.o
|
|||
|
||||
OBJS = main.o dive.o time.o profile.o info.o equipment.o divelist.o deco.o planner.o \
|
||||
parse-xml.o save-xml.o libdivecomputer.o print.o uemis.o uemis-downloader.o \
|
||||
statistics.o file.o cochran.o device.o download-dialog.o prefs.o \
|
||||
statistics.o file.o device.o download-dialog.o prefs.o \
|
||||
webservice.o sha1.o $(GPSOBJ) $(OSSUPPORT).o $(RESFILE) $(GTKOBJS)
|
||||
|
||||
DEPS = $(wildcard .dep/*.dep)
|
||||
|
|
2
file.c
2
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"))
|
||||
|
|
Loading…
Add table
Reference in a new issue