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/06-sim-actions.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/06-sim-actions.c')
-rw-r--r-- | tests/06-sim-actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/06-sim-actions.c b/tests/06-sim-actions.c index 9aff9ef..68b037c 100644 --- a/tests/06-sim-actions.c +++ b/tests/06-sim-actions.c @@ -30,7 +30,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) |