Declare constant data structure const
./lib/pam_defs.h:18:24: warning: ‘conv’ defined but not used [-Wunused-variable] 18 | static struct pam_conv conv = { | ^~~~
This commit is contained in:
parent
89be7c0465
commit
194014678e
@ -15,7 +15,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
static struct pam_conv conv = {
|
||||
static const struct pam_conv conv = {
|
||||
SHADOW_PAM_CONVERSATION,
|
||||
NULL
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user