Allow compiler to warning on future possible uninitialised usage. --- server/websocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/websocket.c b/server/websocket.c index 3df1ee6..8e6166f 100644 --- a/server/websocket.c +++ b/server/websocket.c @@ -127,7 +127,7 @@ static int frame_bytes_needed(websocket_frame_t *frame) */ static gchar *generate_reply_key(gchar *buf) { - GChecksum *checksum = NULL; + GChecksum *checksum; gchar *b64 = NULL; guint8 *sha1; gsize sha1_size; -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel