projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
979d536
)
split-file-dialog: Add use of unused variable in split_file_dialog().
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 26 Sep 2012 00:03:10 +0000
(17:03 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 26 Sep 2012 04:20:52 +0000
(21:20 -0700)
'selector' was assigned but never used, but here's a use.
Reported by GCC 4.7.
src/ui/gui/split-file-dialog.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/split-file-dialog.c
b/src/ui/gui/split-file-dialog.c
index 6e9259ee425113ca17fae2ca22279ed49a557da0..e57075e2c602ea3c95d42de1c1bcb85e09473c04 100644
(file)
--- a/
src/ui/gui/split-file-dialog.c
+++ b/
src/ui/gui/split-file-dialog.c
@@
-185,7
+185,7
@@
split_file_dialog (PsppireDataWindow *de)
g_object_get (vs, "dictionary", &sfd.dict, NULL);
- sfd.selector = PSPPIRE_SELECTOR (
get_widget_assert (sfd.xml, "split-file-selector")
);
+ sfd.selector = PSPPIRE_SELECTOR (
selector
);
g_object_set (source, "model", sfd.dict, NULL);