selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ondrej Mosnacek <omosnace@redhat.com>
To: selinux@vger.kernel.org
Subject: [PATCH userspace 3/4] checkpolicy: remove unused te_assertions
Date: Wed, 22 Jan 2020 16:46:54 +0100	[thread overview]
Message-ID: <20200122154655.257233-4-omosnace@redhat.com> (raw)
In-Reply-To: <20200122154655.257233-1-omosnace@redhat.com>

This variable is declared in a header file, but never defined or used.
Remove it.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
---
 checkpolicy/checkpolicy.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/checkpolicy/checkpolicy.h b/checkpolicy/checkpolicy.h
index 3868f1fa..8fbc1b7d 100644
--- a/checkpolicy/checkpolicy.h
+++ b/checkpolicy/checkpolicy.h
@@ -13,8 +13,6 @@ typedef struct te_assert {
 	struct te_assert *next;
 } te_assert_t;
 
-te_assert_t *te_assertions;
-
 extern unsigned int policyvers;
 
 #endif
-- 
2.24.1


  parent reply	other threads:[~2020-01-22 15:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-22 15:46 [PATCH userspace 0/4] Fix build with -fno-common Ondrej Mosnacek
2020-01-22 15:46 ` [PATCH userspace 1/4] libsepol: fix CIL_KEY_* build errors " Ondrej Mosnacek
2020-01-22 15:46 ` [PATCH userspace 2/4] libsepol: remove unused cil_mem_error_handler Ondrej Mosnacek
2020-01-22 18:54   ` [Non-DoD Source] " jwcart2
2020-01-23 11:59     ` Ondrej Mosnacek
2020-01-22 15:46 ` Ondrej Mosnacek [this message]
2020-01-22 16:10   ` [PATCH userspace 3/4] checkpolicy: remove unused te_assertions Ondrej Mosnacek
2020-01-22 15:46 ` [PATCH userspace 4/4] Makefile: always build with -fno-common Ondrej Mosnacek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200122154655.257233-4-omosnace@redhat.com \
    --to=omosnace@redhat.com \
    --cc=selinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).