Blob Blame Raw
From a4e1679b67db6ecd7ce2891ed0bf5586125a9a08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
Date: Mon, 13 Aug 2018 14:39:47 +0200
Subject: [PATCH 6/7] Fix a warning about an unused variable
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
---
 src/config.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/config.c b/src/config.c
index ea939c8..36b6e37 100644
--- a/src/config.c
+++ b/src/config.c
@@ -536,7 +536,9 @@ static void doserial(void)
 {
   WIN *w;
   char *serial_device         = _(" A -    Serial Device      :");
+#if !HAVE_LOCKDEV
   char *lockfile_location     = _(" B - Lockfile Location     :");
+#endif
   char *callin_program        = _(" C -   Callin Program      :");
   char *callout_program       = _(" D -  Callout Program      :");
   char *bps_par_bits          = _(" E -    Bps/Par/Bits       :");
-- 
2.14.4