瀏覽代碼

Deleted the unused variable.

yosssi 11 年之前
父節點
當前提交
32381d1f2f
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      lib/server.js

+ 0 - 2
lib/server.js

@@ -21,8 +21,6 @@ function PeerServer(options) {
 
 
   util.debug = this._options.debug;
   util.debug = this._options.debug;
 
 
-  // Set up HTTPS server if key and certificate are provided.
-  var secure = this._options.ssl.key && this._options.ssl.certificate;
   // Print warning if only one of the two is given.
   // Print warning if only one of the two is given.
   if (Object.keys(this._options.ssl).length === 1) {
   if (Object.keys(this._options.ssl).length === 1) {
     util.prettyError('Warning: PeerServer will not run on an HTTPS server'
     util.prettyError('Warning: PeerServer will not run on an HTTPS server'