2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[2676] avoid the situation where an uninitialized variable is used

This commit is contained in:
JINMEI Tatuya
2013-02-20 09:09:16 -08:00
parent e4aaeac97a
commit 0735f72f09

View File

@@ -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