From a6c963b6f8e8dffccdcb9642d49c908fa912b171 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 19 Mar 2020 18:40:16 +0000 Subject: conf/pam_conv1: fix clang compilation warnings Fix the following compilation warnings reported by clang: pam_conv_y.y:12:23: warning: unused variable 'bisonid' [-Wunused-const-variable] static const char bisonid[]= ^ pam_conv_l.l:12:23: warning: unused variable 'lexid' [-Wunused-const-variable] static const char lexid[]= ^ These static variables lost their meaning after repository conversion from cvs to git and can be safely removed. * conf/pam_conv1/pam_conv_l.l (lexid): Remove. * conf/pam_conv1/pam_conv_y.y (bisonid): Remove. --- conf/pam_conv1/pam_conv_l.l | 4 ---- conf/pam_conv1/pam_conv_y.y | 4 ---- 2 files changed, 8 deletions(-) (limited to 'conf/pam_conv1') diff --git a/conf/pam_conv1/pam_conv_l.l b/conf/pam_conv1/pam_conv_l.l index f563eeed..2d973475 100644 --- a/conf/pam_conv1/pam_conv_l.l +++ b/conf/pam_conv1/pam_conv_l.l @@ -9,10 +9,6 @@ * distributed with this file.) */ - static const char lexid[]= - "$Id$\n" - "Copyright (c) Andrew G. Morgan 1997 \n"; - #ifdef HAVE_CONFIG_H # include #endif diff --git a/conf/pam_conv1/pam_conv_y.y b/conf/pam_conv1/pam_conv_y.y index 3fcb7dae..c971abf4 100644 --- a/conf/pam_conv1/pam_conv_y.y +++ b/conf/pam_conv1/pam_conv_y.y @@ -9,10 +9,6 @@ * distributed with this file.) */ - static const char bisonid[]= - "$Id$\n" - "Copyright (c) Andrew G. Morgan 1997-8 \n"; - #ifdef HAVE_CONFIG_H # include #endif -- cgit v1.2.3