mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
Fix some compiler warnings from gcc 4.6
This commit is contained in:
parent
78203f3699
commit
01602e1695
@ -652,6 +652,7 @@ keyring_generate_entry (const gchar *cookie_context,
|
|||||||
lines = NULL;
|
lines = NULL;
|
||||||
new_contents = NULL;
|
new_contents = NULL;
|
||||||
have_id = FALSE;
|
have_id = FALSE;
|
||||||
|
use_id = 0;
|
||||||
use_cookie = NULL;
|
use_cookie = NULL;
|
||||||
lock_fd = -1;
|
lock_fd = -1;
|
||||||
|
|
||||||
|
@ -784,7 +784,6 @@ message_serialize_invalid (void)
|
|||||||
DBusMessage *dbus_message;
|
DBusMessage *dbus_message;
|
||||||
char *blob;
|
char *blob;
|
||||||
int blob_len;
|
int blob_len;
|
||||||
int i;
|
|
||||||
/* these are in pairs with matching length */
|
/* these are in pairs with matching length */
|
||||||
const gchar *valid_utf8_str = "this is valid...";
|
const gchar *valid_utf8_str = "this is valid...";
|
||||||
const gchar *invalid_utf8_str = "this is invalid\xff";
|
const gchar *invalid_utf8_str = "this is invalid\xff";
|
||||||
|
@ -278,7 +278,7 @@ use_inet_address (gboolean synchronous)
|
|||||||
{
|
{
|
||||||
GSocketAddressEnumerator *enumerator;
|
GSocketAddressEnumerator *enumerator;
|
||||||
GSocketAddress *sockaddr;
|
GSocketAddress *sockaddr;
|
||||||
GInetAddress *addr;
|
GInetAddress *addr = NULL;
|
||||||
guint port = 0;
|
guint port = 0;
|
||||||
gchar **ip_and_port;
|
gchar **ip_and_port;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user