projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
accdc42
)
Remove some unused variables
author
John Darrington
<john@darrington.wattle.id.au>
Fri, 6 Mar 2009 12:27:24 +0000
(21:27 +0900)
committer
John Darrington
<john@darrington.wattle.id.au>
Fri, 6 Mar 2009 12:27:24 +0000
(21:27 +0900)
src/ui/gui/about.c
patch
|
blob
|
history
src/ui/gui/psppire-output-window.c
patch
|
blob
|
history
src/ui/gui/psppire-var-sheet.c
patch
|
blob
|
history
src/ui/gui/psppire-var-store.c
patch
|
blob
|
history
src/ui/gui/psppire-window.c
patch
|
blob
|
history
src/ui/gui/psppire.c
patch
|
blob
|
history
src/ui/gui/var-display.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/about.c
b/src/ui/gui/about.c
index 8ca91cbe8281d56a14eea230f39fe6afcbb46546..c217833cbea5bf140f99c36cc2aa75106a8401b5 100644
(file)
--- a/
src/ui/gui/about.c
+++ b/
src/ui/gui/about.c
@@
-25,7
+25,7
@@
#include "helper.h"
#include "helper.h"
-
const static
gchar *artists[] = { "Patrick Brunier", "Dondi Bogusky", NULL};
+
static const
gchar *artists[] = { "Patrick Brunier", "Dondi Bogusky", NULL};
void
about_new (GtkMenuItem *m, GtkWindow *parent)
void
about_new (GtkMenuItem *m, GtkWindow *parent)
diff --git
a/src/ui/gui/psppire-output-window.c
b/src/ui/gui/psppire-output-window.c
index 7f7d2765a78fbe46a65887105fbaa6777ae9ad61..106b4ad0adcdf1ae5a9bc1eea5b045b026d61434 100644
(file)
--- a/
src/ui/gui/psppire-output-window.c
+++ b/
src/ui/gui/psppire-output-window.c
@@
-298,7
+298,7
@@
reload_viewer (PsppireOutputWindow *ow)
GtkTextIter end_iter;
GtkTextMark *mark ;
GtkTextIter end_iter;
GtkTextMark *mark ;
-
static
char *line = NULL;
+ char *line = NULL;
gboolean chars_inserted = FALSE;
gboolean chars_inserted = FALSE;
diff --git
a/src/ui/gui/psppire-var-sheet.c
b/src/ui/gui/psppire-var-sheet.c
index ed9a426870872ce42729609ef29d2f027075e424..e02e81087b72385d0aaecc4eb1871adac70c4553 100644
(file)
--- a/
src/ui/gui/psppire-var-sheet.c
+++ b/
src/ui/gui/psppire-var-sheet.c
@@
-121,9
+121,7
@@
create_label_list (const gchar *const *labels)
gint i = 0;
GtkTreeIter iter;
gint i = 0;
GtkTreeIter iter;
- GtkListStore *list_store;
- list_store = gtk_list_store_new (1, G_TYPE_STRING);
-
+ GtkListStore *list_store = gtk_list_store_new (1, G_TYPE_STRING);
while ( (s = labels[i++]))
{
while ( (s = labels[i++]))
{
diff --git
a/src/ui/gui/psppire-var-store.c
b/src/ui/gui/psppire-var-store.c
index cdb32719eda7fe67888f4185b484d7f7827e2d39..82a7ef1094d5d915ff6722835037edb4c8be7b4a 100644
(file)
--- a/
src/ui/gui/psppire-var-store.c
+++ b/
src/ui/gui/psppire-var-store.c
@@
-540,7
+540,7
@@
psppire_var_store_set_string (PsppireSheetModel *model,
}
}
-
const static
gchar none[] = N_("None");
+
static const
gchar none[] = N_("None");
static gchar *
text_for_column (const struct variable *pv, gint c, GError **err)
static gchar *
text_for_column (const struct variable *pv, gint c, GError **err)
diff --git
a/src/ui/gui/psppire-window.c
b/src/ui/gui/psppire-window.c
index f0d6d9162968f27c89576fc4d405b8d719898702..576d3159deceb63bcc5be797607eb2ed8f0b6412 100644
(file)
--- a/
src/ui/gui/psppire-window.c
+++ b/
src/ui/gui/psppire-window.c
@@
-40,7
+40,6
@@
static void psppire_window_class_init (PsppireWindowClass *class);
static void psppire_window_init (PsppireWindow *window);
static void psppire_window_init (PsppireWindow *window);
-static PsppireWindowClass *the_class;
static GObjectClass *parent_class;
GType
static GObjectClass *parent_class;
GType
@@
-272,7
+271,6
@@
psppire_window_class_init (PsppireWindowClass *class)
PROP_FILENAME,
filename_spec);
PROP_FILENAME,
filename_spec);
- the_class = class;
parent_class = g_type_class_peek_parent (class);
}
parent_class = g_type_class_peek_parent (class);
}
diff --git
a/src/ui/gui/psppire.c
b/src/ui/gui/psppire.c
index 35dad91e5d49b50ba60d009e0d9d8745d4ea441d..3d0d864967542bc05ebba66dc322844ef2d391d6 100644
(file)
--- a/
src/ui/gui/psppire.c
+++ b/
src/ui/gui/psppire.c
@@
-301,6
+301,5
@@
output_file_name (void)
if ( NULL == filename )
filename = xasprintf ("%s%s", dir, OUTPUT_FILE_NAME);
if ( NULL == filename )
filename = xasprintf ("%s%s", dir, OUTPUT_FILE_NAME);
-
return filename;
}
return filename;
}
diff --git
a/src/ui/gui/var-display.c
b/src/ui/gui/var-display.c
index c69730f6f2a104abf607d64a9a335bb15bb15d7e..07c7a4736ff08e8537d62182383592fc4aec0ec1 100644
(file)
--- a/
src/ui/gui/var-display.c
+++ b/
src/ui/gui/var-display.c
@@
-11,7
+11,7
@@
#include "helper.h"
#include "helper.h"
-
const static
gchar none[] = N_("None");
+
static const
gchar none[] = N_("None");
gchar *
name_to_string (const struct variable *var, GError **err)
gchar *
name_to_string (const struct variable *var, GError **err)