[epiphany/wip/fixes: 11/15] download: Add an assertion



commit 33558539ed39b8eaf9698e77ce52df3d8f07f35e
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 292105a..ed1e8f7 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -454,9 +454,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]