Commit f6e944f7 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

url.h: silenced warning on URL_INIT_AS()

darcs-hash:20071012173725-88462-182193ec8002749c5cded035f0b2929fbd2a0ed5.gz
parent dbe11e9c
...@@ -204,7 +204,7 @@ SOFIAPUBFUN char *url_unescape(char *d, char const *s); ...@@ -204,7 +204,7 @@ SOFIAPUBFUN char *url_unescape(char *d, char const *s);
* @endcode * @endcode
*/ */
#define URL_INIT_AS(type) \ #define URL_INIT_AS(type) \
{ "\0\0", url_##type, 0, url_##type != url_any ? #type : "*" } { "\0", url_##type, 0, url_##type != url_any ? #type : "*" }
/** Init a url structure as given type */ /** Init a url structure as given type */
SOFIAPUBFUN void url_init(url_t *url, enum url_type_e type); SOFIAPUBFUN void url_init(url_t *url, enum url_type_e type);
......
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