diff options
author | Your Name <you@example.com> | 2021-03-13 00:10:15 +0000 |
---|---|---|
committer | Your Name <you@example.com> | 2021-03-13 00:10:15 +0000 |
commit | b9db45fa4cf4af83b016b4b3515a446322dc9783 (patch) | |
tree | 1a532500b0d69c448cafc8670a963a63e9a3b508 /src | |
parent | d0e899ea83478a7eedd9d3f6c36dede7bba6a79a (diff) | |
download | cracklib-b9db45fa4cf4af83b016b4b3515a446322dc9783.tar.gz |
Removed unused vers_id variables
Fix warning:
stringlib.c:15:19: warning: 'vers_id' defined but not used [-Wunused-const-variable=]
15 | static const char vers_id[] = "stringlib.c : v2.3p2 Alec Muffett 18 May 1993";
| ^~~~~~~
rules.c:7:19: warning: 'vers_id' defined but not used [-Wunused-const-variable=]
7 | static const char vers_id[] = "rules.c : v5.0p3 Alec Muffett 20 May 1993";
| ^~~~~~~
packlib.c:21:19: warning: 'vers_id' defined but not used [-Wunused-const-variable=]
21 | static const char vers_id[] = "packlib.c : v2.3p2 Alec Muffett 18 May 1993";
| ^~~~~~~
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/packlib.c | 2 | ||||
-rw-r--r-- | src/lib/rules.c | 2 | ||||
-rw-r--r-- | src/lib/stringlib.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/packlib.c b/src/lib/packlib.c index 3505109..9396e1d 100644 --- a/src/lib/packlib.c +++ b/src/lib/packlib.c @@ -18,8 +18,6 @@ #endif #include "packer.h" -static const char vers_id[] = "packlib.c : v2.3p2 Alec Muffett 18 May 1993"; - #define DEBUG 0 /* Structures for processing "broken" 64bit dictionary files */ diff --git a/src/lib/rules.c b/src/lib/rules.c index 313dd8c..b62497a 100644 --- a/src/lib/rules.c +++ b/src/lib/rules.c @@ -4,8 +4,6 @@ * or its effect upon hardware or computer systems. */ -static const char vers_id[] = "rules.c : v5.0p3 Alec Muffett 20 May 1993"; - #include "config.h" #include <string.h> #ifdef HAVE_INTTYPES_H diff --git a/src/lib/stringlib.c b/src/lib/stringlib.c index 89c2778..1b52e03 100644 --- a/src/lib/stringlib.c +++ b/src/lib/stringlib.c @@ -12,8 +12,6 @@ #endif #include "packer.h" -static const char vers_id[] = "stringlib.c : v2.3p2 Alec Muffett 18 May 1993"; - char Chop(string) register char *string; |