Commit 4c148fe1 authored by Michael Jerris's avatar Michael Jerris

remove msvc warning 4114 same type qualifier used more than once warnings

darcs-hash:20061121073844-16063-28ac96c8fb0cb657288c854574feeca5e4ba58c4.gz
parent 90fc2f61
......@@ -1210,7 +1210,7 @@ msg_header_t *error_header_parse(msg_t *msg, msg_pub_t *mo,
issize_t msg_parse_next_field(su_home_t *home, msg_header_t *prev,
char *s, isize_t slen)
{
msg_hclass_t const *hc = prev->sh_class;
msg_hclass_t *hc = prev->sh_class;
msg_header_t *h;
char *end = s + slen;
......
......@@ -236,7 +236,7 @@ int sip_add_tagis(msg_t *msg, sip_t *sip, tagi_t const **inout_list)
}
static char const *append_escaped(su_strlst_t *l,
msg_hclass_t const *hc,
msg_hclass_t *hc,
char const *s);
/** Convert tagged SIP headers to a URL-encoded headers list.
......@@ -283,7 +283,7 @@ char *sip_headers_as_url_query(su_home_t *home,
ta_start(ta, tag, value);
for (t = ta_args(ta); t && retval; t = t_next(t)) {
msg_hclass_t const *hc;
msg_hclass_t *hc;
if (t->t_value == 0 || t->t_value == -1)
continue;
......@@ -321,7 +321,7 @@ char *sip_headers_as_url_query(su_home_t *home,
/* Append a string to list and url-escape it if needed */
static
char const *append_escaped(su_strlst_t *l,
msg_hclass_t const *hc,
msg_hclass_t *hc,
char const *s)
{
char const *name;
......@@ -409,7 +409,7 @@ tagi_t *sip_url_query_as_taglist(su_home_t *home, char const *query,
char *value;
tag_type_t t;
tag_value_t v;
msg_hclass_t const *hc = NULL;
msg_hclass_t *hc = NULL;
hnv = su_strlst_item(l, i);
n = strcspn(hnv, "=");
......
......@@ -450,7 +450,7 @@
#pragma warning( disable : 4022 4028 )
/* Temporarily disable high frequency, low value warnings.
We may still want to re-enable and fix these */
#pragma warning( disable : 4132 4100 4127 4295 4152 4114)
#pragma warning( disable : 4132 4100 4127 4295 4152)
#if (_MSC_VER >= 1400) // VC8+
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment