Blame SOURCES/0006-Fix-a-warning-about-an-unused-variable.patch

3709cf
From a4e1679b67db6ecd7ce2891ed0bf5586125a9a08 Mon Sep 17 00:00:00 2001
3709cf
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
3709cf
Date: Mon, 13 Aug 2018 14:39:47 +0200
3709cf
Subject: [PATCH 6/7] Fix a warning about an unused variable
3709cf
MIME-Version: 1.0
3709cf
Content-Type: text/plain; charset=UTF-8
3709cf
Content-Transfer-Encoding: 8bit
3709cf
3709cf
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
3709cf
---
3709cf
 src/config.c | 2 ++
3709cf
 1 file changed, 2 insertions(+)
3709cf
3709cf
diff --git a/src/config.c b/src/config.c
3709cf
index ea939c8..36b6e37 100644
3709cf
--- a/src/config.c
3709cf
+++ b/src/config.c
3709cf
@@ -536,7 +536,9 @@ static void doserial(void)
3709cf
 {
3709cf
   WIN *w;
3709cf
   char *serial_device         = _(" A -    Serial Device      :");
3709cf
+#if !HAVE_LOCKDEV
3709cf
   char *lockfile_location     = _(" B - Lockfile Location     :");
3709cf
+#endif
3709cf
   char *callin_program        = _(" C -   Callin Program      :");
3709cf
   char *callout_program       = _(" D -  Callout Program      :");
3709cf
   char *bps_par_bits          = _(" E -    Bps/Par/Bits       :");
3709cf
-- 
3709cf
2.14.4
3709cf