[epiphany] download: Add an assertion



commit c33e83c7fc5eb7594021582528b0e869ecb082e4
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sat Mar 5 13:25:14 2016 -0600

    download: Add an assertion
    
    https://bugzilla.gnome.org/show_bug.cgi?id=610586

 embed/ephy-download.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 0f28a26..f09b691 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -450,9 +450,7 @@ ephy_download_do_download_action (EphyDownload          *download,
       ret = TRUE;
       break;
     default:
-      LOG ("ephy_download_do_download_action: unhandled action");
-      ret = FALSE;
-      break;
+      g_assert_not_reached ();
   }
   g_object_unref (destination);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]