[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 457/473: Fixed unnecessary assignment to NULL.

noreply at xfce.org noreply at xfce.org
Tue Feb 17 00:00:27 CET 2015


This is an automated email from the git hooks/post-receive script.

gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 9e0026dc374034a74349cf6601e814607058b98a
Author: Graeme Gott <graeme at gottcode.org>
Date:   Tue Feb 10 11:00:38 2015 -0500

    Fixed unnecessary assignment to NULL.
---
 panel-plugin/configuration-dialog.cpp |    1 -
 panel-plugin/plugin.cpp               |    1 -
 2 files changed, 2 deletions(-)

diff --git a/panel-plugin/configuration-dialog.cpp b/panel-plugin/configuration-dialog.cpp
index c55e5b0..e33b92b 100644
--- a/panel-plugin/configuration-dialog.cpp
+++ b/panel-plugin/configuration-dialog.cpp
@@ -53,7 +53,6 @@ enum
 static void whiskermenu_config_dialog_delete(ConfigurationDialog* dialog)
 {
 	delete dialog;
-	dialog = NULL;
 }
 
 //-----------------------------------------------------------------------------
diff --git a/panel-plugin/plugin.cpp b/panel-plugin/plugin.cpp
index eb0c36c..b58ad1e 100644
--- a/panel-plugin/plugin.cpp
+++ b/panel-plugin/plugin.cpp
@@ -43,7 +43,6 @@ extern "C" void whiskermenu_construct(XfcePanelPlugin* plugin)
 static void whiskermenu_free(XfcePanelPlugin*, Plugin* whiskermenu)
 {
 	delete whiskermenu;
-	whiskermenu = NULL;
 }
 
 // Wait for grab; allows modifier as shortcut

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list