Don't assign a value to a variable which is then never used: Coverity 1160 [UNUSED]
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 19 May 2011 14:11:01 +0000 (14:11 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 19 May 2011 14:11:01 +0000 (14:11 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37290 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/mate/mate_runtime.c

index ca6c3d811cf8bf83a68b7b039fd6c641b4a55c3d..62024e332863451400581ab812ccb308faccdeb3 100644 (file)
@@ -162,9 +162,9 @@ extern void initialize_mate_runtime(void) {
                dbg_gop = &(mc->dbg_gop_lvl);
                dbg_gog = &(mc->dbg_gog_lvl);
                dbg = &(mc->dbg_lvl);
-        dbg_facility = mc->dbg_facility;
+               dbg_facility = mc->dbg_facility;
 
-        dbg_print(dbg, 1, dbg_facility, "starting mate");
+               dbg_print(dbg, 1, dbg_facility, "starting mate");
 
        } else {
                rd = NULL;
@@ -415,7 +415,7 @@ static void analyze_gop(mate_gop* gop) {
 
                                                gog_remove_keys(gog);
 
-                                               gog = new_gog(gog->cfg,gop);
+                                               new_gog(gog->cfg,gop);
 
                                                break;
                                        } else {
@@ -465,7 +465,7 @@ static void analyze_gop(mate_gop* gop) {
 
 static void analyze_pdu(mate_pdu* pdu) {
        /* TODO:
-    return a g_boolean to tell we've destroyed the pdu when the pdu is unnassigned
+       return a g_boolean to tell we've destroyed the pdu when the pdu is unnassigned
        destroy the unassigned pdu
        */
        mate_cfg_gop* cfg = NULL;