diff options
author | Paul Moore <pmoore@redhat.com> | 2014-02-27 14:12:55 -0500 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-02-27 14:12:55 -0500 |
commit | 01c752ad4c4282f1c576521d40add2895eea07d2 (patch) | |
tree | b25e6f3961eaaf38889a4d21e28540d1aebd58ab /tests/10-sim-syscall_priority_post.c | |
parent | 655af28c82c46cd59353a33a8d002b789d1ac5a6 (diff) | |
download | libseccomp-01c752ad4c4282f1c576521d40add2895eea07d2.tar.gz |
tests: fix a uninitialized use warning
Many, if not all, of the tests had an uninitialized use warning
relating to the use of the libseccomp context variable.
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tests/10-sim-syscall_priority_post.c')
-rw-r--r-- | tests/10-sim-syscall_priority_post.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/10-sim-syscall_priority_post.c b/tests/10-sim-syscall_priority_post.c index bafa5dd..d426e14 100644 --- a/tests/10-sim-syscall_priority_post.c +++ b/tests/10-sim-syscall_priority_post.c @@ -29,7 +29,7 @@ int main(int argc, char *argv[]) { int rc; struct util_options opts; - scmp_filter_ctx ctx; + scmp_filter_ctx ctx = NULL; rc = util_getopt(argc, argv, &opts); if (rc < 0) |