diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fr-command-lrzip.c | 4 | ||||
-rw-r--r-- | src/gtk-utils.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/fr-command-lrzip.c b/src/fr-command-lrzip.c index 6a2833c..15e5f23 100644 --- a/src/fr-command-lrzip.c +++ b/src/fr-command-lrzip.c @@ -51,12 +51,12 @@ list__process_line (char *line, fdata->size = g_ascii_strtoull (get_last_field (line, 4), NULL, 10); struct stat st; - time_t tt; + if (stat (comm->filename, &st) == 0) fdata->modified = st.st_mtim.tv_sec; else time(&(fdata->modified)); - fdata->modified; + fdata->encrypted = FALSE; char *new_fname = g_strdup (file_name_from_path (comm->filename)); diff --git a/src/gtk-utils.c b/src/gtk-utils.c index b87b607..99251d8 100644 --- a/src/gtk-utils.c +++ b/src/gtk-utils.c @@ -159,10 +159,7 @@ create_button (const char *stock_id, const char *text) { GtkWidget *button; - GtkWidget *hbox; GtkWidget *image; - GtkWidget *label; - GtkWidget *align; const char *label_text; gboolean text_is_stock; GtkStockItem stock_item; |