python: Constify some local static variables
These somehow got missed in my previous constification patches... Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
This commit is contained in:
parent
3621352278
commit
ff6d504530
1 changed files with 4 additions and 4 deletions
|
@ -406,10 +406,10 @@ nxt_python_set_target(nxt_task_t *task, nxt_python_target_t *target,
|
|||
nxt_bool_t is_factory = 0;
|
||||
nxt_conf_value_t *value;
|
||||
|
||||
static nxt_str_t module_str = nxt_string("module");
|
||||
static nxt_str_t callable_str = nxt_string("callable");
|
||||
static nxt_str_t prefix_str = nxt_string("prefix");
|
||||
static nxt_str_t factory_flag_str = nxt_string("factory");
|
||||
static const nxt_str_t module_str = nxt_string("module");
|
||||
static const nxt_str_t callable_str = nxt_string("callable");
|
||||
static const nxt_str_t prefix_str = nxt_string("prefix");
|
||||
static const nxt_str_t factory_flag_str = nxt_string("factory");
|
||||
|
||||
module = obj = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue