From 7062abeb008514ebbde2bf46261c7762ba9b59de Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Thu, 19 May 2011 14:11:01 +0000 Subject: [PATCH] Don't assign a value to a variable which is then never used: Coverity 1160 [UNUSED] svn path=/trunk/; revision=37290 --- plugins/mate/mate_runtime.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/mate/mate_runtime.c b/plugins/mate/mate_runtime.c index ca6c3d811c..62024e3328 100644 --- a/plugins/mate/mate_runtime.c +++ b/plugins/mate/mate_runtime.c @@ -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;