[Spice-devel] [PATCH spice-server 07/30] Remove useless assignment
Frediano Ziglio
fziglio at redhat.com
Mon Nov 21 12:51:54 UTC 2016
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
More information about the Spice-devel
mailing list