Skip to contentSkip to conversation

master - cleanup: hide gcc warning

PATCH Zdenek Kabelac 1 participant 1 message Nov 23, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cc3895623c43dbbd6976f3c988e4ad26ad9ac9c8
Commit:        cc3895623c43dbbd6976f3c988e4ad26ad9ac9c8
Parent:        8a4dfe6ce7f44e2996e48fa0dd7dfd98680cae86
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Nov 16 15:13:36 2016 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Nov 23 17:55:03 2016 +0100

cleanup: hide gcc warning

---
 libdm/regex/parse_rx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
libdm/regex/parse_rx.c +1 -0
index f9ba65c..80e97a4 100644
@@ -19,6 +19,7 @@
 #ifdef DEBUG
 #include <ctype.h>
 
+__attribute__ ((__unused__))
 static void _regex_print(struct rx_node *rx, int depth, unsigned show_nodes)
 {
 	int i, numchars;