From fa5ea8883fb699fd8ac96413e3f7bda1acbfaa8c Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 29 Jun 2019 00:36:40 +0200 Subject: fm-directory-view: change G_GNUC_END_IGNORE_DEPRECATIONS place Fixes cppcheck warnings: [src/file-manager/fm-directory-view.c:1007]: (style) Statements following return, break, continue, goto or throw will never be executed. [src/file-manager/fm-directory-view.c:1080]: (style) Statements following return, break, continue, goto or throw will never be executed. --- src/file-manager/fm-directory-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c index 8367bf4d..f157f023 100644 --- a/src/file-manager/fm-directory-view.c +++ b/src/file-manager/fm-directory-view.c @@ -1004,8 +1004,8 @@ real_trash (FMDirectoryView *view) gtk_action_get_visible (action)) { trash_or_delete_selected_files (view); return TRUE; - G_GNUC_END_IGNORE_DEPRECATIONS; } + G_GNUC_END_IGNORE_DEPRECATIONS; return FALSE; } @@ -1077,8 +1077,8 @@ real_delete (FMDirectoryView *view) gtk_action_get_visible (action)) { delete_selected_files (view); return TRUE; - G_GNUC_END_IGNORE_DEPRECATIONS; } + G_GNUC_END_IGNORE_DEPRECATIONS; return FALSE; } -- cgit v1.2.1