From: JINMEI Tatuya Date: Wed, 20 Feb 2013 17:09:16 +0000 (-0800) Subject: [2676] avoid the situation where an uninitialized variable is used X-Git-Tag: bind10-1.1.0beta1-release~83^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0735f72f09fc04cb01aa4df9912ecd265b4f8a05;p=thirdparty%2Fkea.git [2676] avoid the situation where an uninitialized variable is used --- diff --git a/src/bin/stats/stats.py.in b/src/bin/stats/stats.py.in index 2711f2d38b..9ace6c83e1 100755 --- a/src/bin/stats/stats.py.in +++ b/src/bin/stats/stats.py.in @@ -261,6 +261,7 @@ class Stats: # TODO: Is it OK to just pass? As part of refactoring, preserving # the original behaviour. value = None + modules = [] if type(value) is list: # NOTE: For example, the "show_processes" command # of Init is assumed to return the response in this