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

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