summaryrefslogtreecommitdiff
path: root/conf/pam_conv1
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-03-19 18:40:16 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-03-19 18:40:16 +0000
commita6c963b6f8e8dffccdcb9642d49c908fa912b171 (patch)
treed1109e8591d55eeb04c8589ecfc793666fff738f /conf/pam_conv1
parent8b7112d4f0ef82d02b1219374a25089848a3a8a3 (diff)
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.
Diffstat (limited to 'conf/pam_conv1')
-rw-r--r--conf/pam_conv1/pam_conv_l.l4
-rw-r--r--conf/pam_conv1/pam_conv_y.y4
2 files changed, 0 insertions, 8 deletions
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 <morgan@parc.power.net>\n";
-
#ifdef HAVE_CONFIG_H
# include <config.h>
#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 <morgan@linux.kernel.org>\n";
-
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif