mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
notmuch: Eliminate some const-correctness warnings.
These were introduced as a side-effect of commit
b9eac48c22
(shame on me for doing
side-effect commits like that!).
For me, at least, compilation is now warning-free.
This commit is contained in:
parent
c9e0da3a1a
commit
c6e70e15ea
2 changed files with 4 additions and 3 deletions
|
@ -119,7 +119,7 @@ static int
|
|||
address_is_users (const char *address, notmuch_config_t *config)
|
||||
{
|
||||
const char *primary;
|
||||
char **other;
|
||||
const char **other;
|
||||
size_t i, other_len;
|
||||
|
||||
primary = notmuch_config_get_user_primary_email (config);
|
||||
|
@ -312,7 +312,8 @@ static const char *
|
|||
guess_from_received_header (notmuch_config_t *config, notmuch_message_t *message)
|
||||
{
|
||||
const char *received,*primary,*by;
|
||||
char **other,*tohdr;
|
||||
const char **other;
|
||||
char *tohdr;
|
||||
char *mta,*ptr,*token;
|
||||
char *domain=NULL;
|
||||
char *tld=NULL;
|
||||
|
|
|
@ -94,7 +94,7 @@ notmuch_setup_command (unused (void *ctx),
|
|||
char *response = NULL;
|
||||
size_t response_size;
|
||||
notmuch_config_t *config;
|
||||
char **old_other_emails;
|
||||
const char **old_other_emails;
|
||||
size_t old_other_emails_len;
|
||||
GPtrArray *other_emails;
|
||||
unsigned int i;
|
||||
|
|
Loading…
Reference in a new issue