From df27bb444e04cdd36d74010290e9270f129eeb3c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 4 May 2009 05:21:18 +0000 Subject: [PATCH] Fix a warning about @pid being uninitialized --- lib/unicorn.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/unicorn.rb b/lib/unicorn.rb index aadd7af3..0b8ac5e4 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -64,6 +64,7 @@ module Unicorn # incoming requests on the socket. def initialize(app, options = {}) @app = app + @pid = nil @reexec_pid = 0 @init_listeners = options[:listeners] ? options[:listeners].dup : [] @config = Configurator.new(options.merge(:use_defaults => true)) -- 2.11.4.GIT