misc: just eliminate several 'unused' warning messages

[ plus we also play catch up on some earlier changes ]
[ that impacted skill.c, after using --enable-skill! ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2016-07-19 00:00:00 -05:00
committed by Craig Small
parent 634d115cca
commit 338166df57
6 changed files with 8 additions and 9 deletions

View File

@@ -1216,8 +1216,10 @@ setREL1(LXCNAME)
static int pr_context(char *restrict const outbuf, const proc_t *restrict const pp){
static void (*ps_freecon)(char*) = 0;
static int (*ps_getpidcon)(pid_t pid, char **context) = 0;
#if ENABLE_LIBSELINUX
static int (*ps_is_selinux_enabled)(void) = 0;
static int tried_load = 0;
#endif
static int selinux_enabled = 0;
size_t len;
char *context;