remove unused variables

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
This commit is contained in:
2xsec 2018-09-12 17:29:09 +09:00
parent aec2500592
commit 01c8b1cd9d
No known key found for this signature in database
GPG Key ID: 0BE2750EE612F372
3 changed files with 0 additions and 4 deletions

View File

@ -2257,7 +2257,6 @@ static int set_config_namespace_clone(const char *key, const char *value,
{ {
char *ns, *token; char *ns, *token;
int cloneflag = 0; int cloneflag = 0;
char *saveptr = NULL;
if (lxc_config_value_empty(value)) if (lxc_config_value_empty(value))
return clr_config_namespace_clone(key, lxc_conf, data); return clr_config_namespace_clone(key, lxc_conf, data);
@ -2293,7 +2292,6 @@ static int set_config_namespace_keep(const char *key, const char *value,
{ {
char *ns, *token; char *ns, *token;
int cloneflag = 0; int cloneflag = 0;
char *saveptr = NULL;
if (lxc_config_value_empty(value)) if (lxc_config_value_empty(value))
return clr_config_namespace_keep(key, lxc_conf, data); return clr_config_namespace_keep(key, lxc_conf, data);

View File

@ -258,7 +258,6 @@ bool is_fs_type(const struct statfs *fs, fs_type_magic magic_val)
bool has_fs_type(const char *path, fs_type_magic magic_val) bool has_fs_type(const char *path, fs_type_magic magic_val)
{ {
bool has_type;
int ret; int ret;
struct statfs sb; struct statfs sb;

View File

@ -47,7 +47,6 @@ int lxc_storage_rsync_exec_wrapper(void *data)
int lxc_rsync_exec_wrapper(void *data) int lxc_rsync_exec_wrapper(void *data)
{ {
int ret;
struct rsync_data_char *args = data; struct rsync_data_char *args = data;
if (!lxc_switch_uid_gid(0, 0)) if (!lxc_switch_uid_gid(0, 0))