[patch 4/7] quiet libsemanage scanner warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Supress the generation of unused functions in the scanner.
There are still a few warnings about the generated scanner
code but that has to be fixed in flex.

---
 libsemanage/src/conf-scan.l |    1 +
 1 file changed, 1 insertion(+)

Index: trunk/libsemanage/src/conf-scan.l
===================================================================
--- trunk.orig/libsemanage/src/conf-scan.l
+++ trunk/libsemanage/src/conf-scan.l
@@ -32,6 +32,7 @@ int yywrap(void);
 %}
 
 %option stack prefix="semanage_"
+%option nounput noyy_push_state noyy_pop_state noyy_top_state
 
 %x arg
 

-- 

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux