]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix warnings of openssl-cli.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 13 Jan 2014 10:41:40 +0000 (18:41 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 13 Jan 2014 10:41:40 +0000 (18:41 +0800)
common.gypi

index f4c44832fd6d7788c823975bcf61cf9f3b55af52..7c3ea1c7edf1657d4f1e7a3b983b66d964c8fdc9 100644 (file)
@@ -35,7 +35,7 @@
   # Settings to compile node under Windows.
   'target_defaults': {
     'target_conditions': [
-      ['_target_name in ["libuv", "http_parser", "cares", "openssl", "node_lib", "zlib"]', {
+      ['_target_name in ["libuv", "http_parser", "cares", "openssl", "openssl-cli", "node_lib", "zlib"]', {
         'msvs_disabled_warnings': [
           4013,  # 'free' undefined; assuming extern returning int
           4054,  #
@@ -54,8 +54,8 @@
           4505,  # unreferenced local function has been removed
           4701,  # potentially uninitialized local variable 'sizew' used
           4706,  # assignment within conditional expression
-          4804,  #  unsafe use of type 'bool' in operation
-          4996,  #
+          4804,  # unsafe use of type 'bool' in operation
+          4996,  # this function or variable may be unsafe.
         ],
         'msvs_settings': {
           'VCCLCompilerTool': {