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/12-sim-basic_masked_ops.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/12-sim-basic_masked_ops.c')
-rw-r--r-- | tests/12-sim-basic_masked_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/12-sim-basic_masked_ops.c b/tests/12-sim-basic_masked_ops.c index a6fd939..29b86d6 100644 --- a/tests/12-sim-basic_masked_ops.c +++ b/tests/12-sim-basic_masked_ops.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) |