[Xfce4-commits] [xfce/thunar] 04/05: Coverity CID 60621: Missing return statement

noreply at xfce.org noreply at xfce.org
Wed Apr 22 13:44:39 CEST 2015


This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/thunar.

commit 3d5917e8d0a5992718eafdb09f0742975a2a546f
Author: Harald Judt <h.judt at gmx.at>
Date:   Wed Apr 22 13:06:37 2015 +0200

    Coverity CID 60621: Missing return statement
    
    CID 60621 (#1 of 1): Missing return statement (MISSING_RETURN)
    5. missing_return: Arriving at the end of a function without
    returning a value.
---
 thunar/thunar-standard-view.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 7e8eef0..ecd7efb 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -3668,7 +3668,7 @@ thunar_standard_view_row_deleted (ThunarListModel    *model,
 static gboolean
 thunar_standard_view_restore_selection_idle (ThunarStandardView *standard_view)
 {
-  _thunar_return_if_fail (THUNAR_IS_STANDARD_VIEW (standard_view));
+  _thunar_return_val_if_fail (THUNAR_IS_STANDARD_VIEW (standard_view), FALSE);
 
   thunar_component_restore_selection (THUNAR_COMPONENT (standard_view));
   standard_view->priv->restore_selection_idle_id = 0;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list