1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

more uninitalized var warnings

git-svn-id: file:///home/svn/framework3/trunk@7513 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2009-11-14 06:21:22 +00:00
parent 8d382ef487
commit e296ec92ea
2 changed files with 8 additions and 3 deletions

View File

@ -11,6 +11,7 @@ module Msf
class Logging
@@initialized = false
@@session_logging = false
#
# Initialize logging.
@ -56,14 +57,14 @@ class Logging
# Sets whether or not session logging is to be enabled.
#
def self.enable_session_logging(tf)
@session_logging = tf
@@session_logging = tf
end
#
# Returns whether or not session logging is enabled.
#
def self.session_logging_enabled?
@session_logging || false
@@session_logging || false
end
#

View File

@ -21,6 +21,10 @@ class SwitchBoard
include Singleton
include Enumerable
def initialize
@_initialized = false
end
###
#
@ -261,4 +265,4 @@ protected
end
end
end
end