From 3d2b5954d70af6abd713bc820b3d7bc1ea115f30 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 4 May 2009 05:21:18 +0000 Subject: 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 1f7cf8d..f5c1c8c 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)) -- cgit v1.2.3-24-ge0c7