pspp-sheet-view: Removed unused variable.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 21 Jun 2015 17:01:29 +0000 (10:01 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 21 Jun 2015 17:01:29 +0000 (10:01 -0700)
Commit 9682fa965a7d (fixed scrolling of edited cell - fixes bug #45113)
removed all uses of local variable 'requisition' from
pspp_sheet_view_real_start_editing(), but did not remove the declaration.
This commit removes the declaration.

Fixes a warning reported by GCC 4.9.1.

src/ui/gui/pspp-sheet-view.c

index 283e8ca619d4748b2765e6b6e3773bed9d99083c..11b32b8f6523aee2eb656c1532b3b197e3ac8851 100644 (file)
@@ -12410,7 +12410,6 @@ pspp_sheet_view_real_start_editing (PsppSheetView       *tree_view,
 {
   PsppSheetSelectionMode mode = pspp_sheet_selection_get_mode (tree_view->priv->selection);
   gint pre_val = gtk_adjustment_get_value (tree_view->priv->vadjustment);
-  GtkRequisition requisition;
   gint row;
 
   g_return_if_fail (gtk_tree_path_get_depth (path) == 1);