Commit 401d3a07 authored by unknown's avatar unknown

Fix compilation on FC4.

parent dfa780e6
...@@ -358,6 +358,7 @@ pid_t Instance_options::get_pid() ...@@ -358,6 +358,7 @@ pid_t Instance_options::get_pid()
int Instance_options::complete_initialization(const char *default_path) int Instance_options::complete_initialization(const char *default_path)
{ {
int arg_idx;
const char *tmp; const char *tmp;
char *end; char *end;
...@@ -428,7 +429,7 @@ int Instance_options::complete_initialization(const char *default_path) ...@@ -428,7 +429,7 @@ int Instance_options::complete_initialization(const char *default_path)
if (add_to_argv(tmp)) if (add_to_argv(tmp))
goto err; goto err;
int arg_idx= filled_default_options; arg_idx= filled_default_options;
for (int opt_idx= 0; opt_idx < get_num_options(); ++opt_idx) for (int opt_idx= 0; opt_idx < get_num_options(); ++opt_idx)
{ {
char option_str[MAX_OPTION_STR_LEN]; char option_str[MAX_OPTION_STR_LEN];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment