From 756d5c545d4f05ce770511a024e9fefe258591f4 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 1 Oct 2017 21:07:02 -0400 Subject: [PATCH] remove unused function --- src/link.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/link.cpp b/src/link.cpp index 47ed96a575..7cba3287cb 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -324,10 +324,10 @@ static void construct_linker_job_elf(LinkJob *lj) { } } -static bool is_target_cyg_mingw(const ZigTarget *target) { - return (target->os == ZigLLVM_Win32 && target->env_type == ZigLLVM_Cygnus) || - (target->os == ZigLLVM_Win32 && target->env_type == ZigLLVM_GNU); -} +//static bool is_target_cyg_mingw(const ZigTarget *target) { +// return (target->os == ZigLLVM_Win32 && target->env_type == ZigLLVM_Cygnus) || +// (target->os == ZigLLVM_Win32 && target->env_type == ZigLLVM_GNU); +//} static void coff_append_machine_arg(CodeGen *g, ZigList *list) { if (g->zig_target.arch.arch == ZigLLVM_x86) {