[PATCH 06/16] src/planner-cmd-manager.c, fix warning: variable 'priv' set but not used
- From: Tinggong Wang <wangtinggong gmail com>
- To: Alexandre Franke <alexandre franke gmail com>, Richard Hult <richard imendio com>, Mikael Hallendal <micke imendio com>, Alvaro del Castillo <acs barrapunto com>, Kurt Maute <kurt maute us>, Maurice van der Pot <griffon26 kfk4ever com>
- Cc: Planner-Dev-List <planner-dev-list gnome org>
- Subject: [PATCH 06/16] src/planner-cmd-manager.c, fix warning: variable 'priv' set but not used
- Date: Thu, 13 Oct 2011 03:30:51 +0800
Signed-off-by: Tinggong Wang <wangtinggong gmail com>
---
src/planner-cmd-manager.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/planner-cmd-manager.c b/src/planner-cmd-manager.c
index c49d2ad..bbade3f 100644
--- a/src/planner-cmd-manager.c
+++ b/src/planner-cmd-manager.c
@@ -374,13 +374,10 @@ planner_cmd_manager_insert_and_do (PlannerCmdManager *manager, PlannerCmd *cmd)
gboolean
planner_cmd_manager_undo (PlannerCmdManager *manager)
{
- PlannerCmdManagerPriv *priv;
PlannerCmd *cmd;
g_return_val_if_fail (PLANNER_IS_CMD_MANAGER (manager), FALSE);
- priv = manager->priv;
-
cmd = get_undo_cmd (manager, TRUE);
if (!cmd) {
@@ -406,13 +403,10 @@ planner_cmd_manager_undo (PlannerCmdManager *manager)
gboolean
planner_cmd_manager_redo (PlannerCmdManager *manager)
{
- PlannerCmdManagerPriv *priv;
PlannerCmd *cmd;
g_return_val_if_fail (PLANNER_IS_CMD_MANAGER (manager), FALSE);
- priv = manager->priv;
-
cmd = get_redo_cmd (manager, TRUE);
if (!cmd) {
return FALSE;
--
1.7.6.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]