Get rid of unnecessary initialization that causes "discards qualifiers"
authorGuy Harris <guy@alum.mit.edu>
Fri, 21 Dec 2012 22:00:40 +0000 (22:00 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 21 Dec 2012 22:00:40 +0000 (22:00 -0000)
warnings.

svn path=/trunk/; revision=46688

epan/dissectors/packet-xtp.c

index ce3eca0bd66cd3847a492365ef1c2959e875edb0..ff1008f9cdb7ddacbc749c1c1cc4b499e6ae0626 100644 (file)
@@ -906,7 +906,7 @@ dissect_xtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
        proto_tree *xtp_tree, *xtp_cmd_tree, *xtp_subtree;
        struct xtphdr xtph[1];
        int     error = 0;
-       gchar   *options = "<None>";
+       gchar   *options;
        const char *fstr[] = { "<None>", "NOCHECK", "EDGE", "NOERR", "MULTI", "RES",
                                "SORT", "NOFLOW", "FASTNAK", "SREQ", "DREQ",
                                "RCLOSE", "WCLOSE", "EOM", "END", "BTAG" };