diff mbox series

[03/47] libsemanage: drop unused macro

Message ID 20241111141706.38039-3-cgoettsche@seltendoof.de (mailing list archive)
State New
Delegated to: Petr Lautrbach
Headers show
Series [01/47] libsemanage: white space cleanup | expand

Commit Message

Christian Göttsche Nov. 11, 2024, 2:16 p.m. UTC
From: Christian Göttsche <cgzones@googlemail.com>

Reported by clang-analyzer:

    semanage_store.c:68:9: warning: macro is not used [-Wunused-macros]
    #define TRUE 1
            ^

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 libsemanage/src/semanage_store.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/libsemanage/src/semanage_store.c b/libsemanage/src/semanage_store.c
index b0b7aa5d..df994297 100644
--- a/libsemanage/src/semanage_store.c
+++ b/libsemanage/src/semanage_store.c
@@ -66,8 +66,6 @@  typedef struct dbase_policydb dbase_t;
 /* relative path names to enum semanage_paths to special files and
  * directories for the module store */
 
-#define TRUE 1
-
 enum semanage_file_defs {
 	SEMANAGE_ROOT,
 	SEMANAGE_TRANS_LOCK,