Silence some uncontroversial warnings

https://bugzilla.gnome.org/show_bug.cgi?id=711547
This commit is contained in:
Руслан Ижбулатов 2014-08-02 12:35:43 +00:00
parent 40650e3323
commit 42ddcc6ff2
3 changed files with 5 additions and 1 deletions

View File

@ -294,7 +294,9 @@ handle_ip_address (const char *hostname,
GError **error)
{
GInetAddress *addr;
#ifndef G_OS_WIN32
struct in_addr ip4addr;
#endif
addr = g_inet_address_new_from_string (hostname);
if (addr)

View File

@ -4012,6 +4012,7 @@ g_main_context_poll (GMainContext *context,
if (n_fds || timeout != 0)
{
#ifdef G_MAIN_POLL_DEBUG
poll_timer = NULL;
if (_g_main_poll_debug)
{
g_print ("polling context=%p n=%d timeout=%d\n",

View File

@ -1797,6 +1797,7 @@ g_win32_get_system_data_dirs_for_module (void (*address_of_function)(void))
gchar *p;
gchar *exe_root;
hmodule = NULL;
if (address_of_function)
{
G_LOCK (g_utils_global);