diff options
author | rbuj <[email protected]> | 2019-08-31 10:18:53 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-09-03 18:08:10 +0200 |
commit | 9bd8ff26b6c038bb6d8509bf999f16dfb5408a88 (patch) | |
tree | 51f1215c99ad67107d6317efb616c2a0ab043851 /src/actions.c | |
parent | b37773ded4dd15c7591a2e40e4c2e40ba9341c8f (diff) | |
download | engrampa-9bd8ff26b6c038bb6d8509bf999f16dfb5408a88.tar.bz2 engrampa-9bd8ff26b6c038bb6d8509bf999f16dfb5408a88.tar.xz |
remove build warning: local variable shadows another variable
actions.c:245:24: warning: declaration of ‘dialog’ shadows a previous local [-Wshadow]
caja-engrampa.c:137:17: warning: declaration of ‘file’ shadows a previous local [-Wshadow]
caja-engrampa.c:58:17: warning: declaration of ‘file’ shadows a previous local [-Wshadow]
dlg-add-files.c:120:9: warning: declaration of ‘uri’ shadows a previous local [-Wshadow]
fr-window.c:4935:11: warning: declaration of ‘value’ shadows a previous local [-Wshadow]
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index cad7a7a..bbb88f1 100644 --- a/src/actions.c +++ b/src/actions.c @@ -224,9 +224,9 @@ get_archive_filename_from_selector (DlgNewData *data) debug (DEBUG_INFO, "create/save %s\n", uri); if (uri_exists (uri)) { - GtkWidget *dialog; if (! is_supported_extension (data->dialog, uri, data->supported_types)) { + GtkWidget *dialog; dialog = _gtk_error_dialog_new (GTK_WINDOW (data->dialog), GTK_DIALOG_MODAL, NULL, |