Commit 30adf868 by Felix Abecassis

seccomp: remove unnecessary memset

parent 9c7423ce
...@@ -183,7 +183,6 @@ static int get_seccomp_arg_value(char *key, struct v2_rule_args *rule_args) ...@@ -183,7 +183,6 @@ static int get_seccomp_arg_value(char *key, struct v2_rule_args *rule_args)
char s[31] = {0}; char s[31] = {0};
char *tmp = NULL; char *tmp = NULL;
memset(s, 0, sizeof(s));
tmp = strchr(key, '['); tmp = strchr(key, '[');
if (!tmp) { if (!tmp) {
ERROR("Failed to interpret args"); ERROR("Failed to interpret args");
......
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