Squelch a compiler warning (for a problem that doesn't actually occur).
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 29 Mar 2006 21:53:26 +0000 (21:53 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 29 Mar 2006 21:53:26 +0000 (21:53 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17758 f5534014-38df-0310-8fa8-9805f1628bb7

epan/proto.c

index ed8255f4475118a5c335284810d2aa388c29b266..2095ae065415df12e505f6e9dcab256068262534 100644 (file)
@@ -4703,7 +4703,7 @@ proto_registrar_dump_protocols(void)
 {
        protocol_t              *protocol;
        int                     i;
-       void                    *cookie;
+       void                    *cookie = NULL;
 
        for (i = proto_get_first_protocol(&cookie); i != -1;
            i = proto_get_next_protocol(&cookie)) {