about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-03-21 01:17:03 +0000
committerEric Wong <e@80x24.org>2017-03-23 00:03:40 +0000
commit703701aa9907df0c88d52873e47fabb15bb4a320 (patch)
tree40729343bb0bfb8632ce41c3cc6fa29974aa9aec
parent794c2618068ef4f9cfdcc890fe7858d922cb527c (diff)
This quiets down warnings when run with '-w'
-rw-r--r--lib/unicorn/http_server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb
index ef897ad..4a2ccce 100644
--- a/lib/unicorn/http_server.rb
+++ b/lib/unicorn/http_server.rb
@@ -89,6 +89,7 @@ class Unicorn::HttpServer
     @self_pipe = []
     @workers = {} # hash maps PIDs to Workers
     @sig_queue = [] # signal queue used for self-piping
+    @pid = nil
 
     # we try inheriting listeners first, so we bind them later.
     # we don't write the pid file until we've bound listeners in case