libutil/util_opt: Remove unused global variables

A compile with sparse (make C=1) shows the following warnings:

  util_opt.c:42:19: warning: symbol 'util_opt_l' was not declared.
  Should it be static?
  util_prg.c:28:19: warning: symbol 'util_prg_l' was not declared.
  Should it be static?

util_opt_l and util_prg_l are not used anywhere, and also not declared in
any header file. Looks like they are superfluous, remove them.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Ingo Franzki
2021-06-21 10:51:51 +02:00
committed by Jan Höppner
parent 21fe08ad23
commit 8bcb93673e
2 changed files with 0 additions and 4 deletions

View File

@@ -39,8 +39,6 @@ static struct util_opt_l {
const char *command;
} l;
struct util_opt_l *util_opt_l = &l;
/// @endcond
#define util_opt_iterate(opt) \

View File

@@ -25,8 +25,6 @@ static struct util_prg_l {
const char *command;
} l;
struct util_prg_l *util_prg_l = &l;
/**
* Set the current command for command line option processing
*