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

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