浏览代码

Avoiding linker warning by commenting-out unused PuTTY code that causes it

Source commit: b470e5a4a519e207cb54ac7960afafb2cea3e09c
Martin Prikryl 6 年之前
父节点
当前提交
49d6de52d1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      source/putty/mainchan.c

+ 2 - 0
source/putty/mainchan.c

@@ -478,6 +478,7 @@ void mainchan_get_specials(
 {
     /* FIXME: this _does_ depend on whether these services are supported */
 
+    /* WINSCP (causes linker warning and we do not use these)
     add_special(ctx, "Break", SS_BRK, 0);
 
     #define SIGNAL_MAIN(name, desc) \
@@ -497,6 +498,7 @@ void mainchan_get_specials(
     #undef SIGNAL_SUB
 
     add_special(ctx, NULL, SS_EXITMENU, 0);
+    */
 }
 
 static const char *ssh_signal_lookup(SessionSpecialCode code)