28 lines
798 B
Diff
28 lines
798 B
Diff
|
From d680436cd85f1f8261bfc974970319ef0efb420a Mon Sep 17 00:00:00 2001
|
||
|
From: marxin <mliska@suse.cz>
|
||
|
Date: Fri, 23 Dec 2016 13:01:09 +0100
|
||
|
Subject: [PATCH] Add break to a case label
|
||
|
|
||
|
GCC 7 error:
|
||
|
mod_pam_nam.c:45:7: error: this statement may fall through
|
||
|
[-Werror=implicit-fallthrough=]
|
||
|
---
|
||
|
src/mod_pam_nam.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/mod_pam_nam.c b/src/mod_pam_nam.c
|
||
|
index 4206b78..797690d 100644
|
||
|
--- a/src/mod_pam_nam.c
|
||
|
+++ b/src/mod_pam_nam.c
|
||
|
@@ -43,6 +43,7 @@ write_config_nam (pam_module_t * this, enum write_type op, FILE * fp)
|
||
|
break;
|
||
|
case AUTH:
|
||
|
fprintf (fp, "auth\trequired\tpam_nam.so\tuse_first_pass\n");
|
||
|
+ break;
|
||
|
case PASSWORD:
|
||
|
fprintf (fp, "password\trequired\tpam_nam.so\ttry_first_pass\n");
|
||
|
break;
|
||
|
--
|
||
|
2.11.0
|
||
|
|